From cc664e6755b5880d6166395daa65d8cf6e58efa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Fri, 8 Jul 2022 23:57:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xm/core/xmProduct/XmProductAdd.vue | 2 +- src/views/xm/core/xmProduct/XmProductEdit.vue | 2 +- src/views/xm/core/xmProject/XmProjectEdit.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/xm/core/xmProduct/XmProductAdd.vue b/src/views/xm/core/xmProduct/XmProductAdd.vue index 5972d0c8..554a3869 100644 --- a/src/views/xm/core/xmProduct/XmProductAdd.vue +++ b/src/views/xm/core/xmProduct/XmProductAdd.vue @@ -88,7 +88,7 @@ addFormRules: { productName: [ { required: true, message: '产品名称不能为空', trigger: 'change' }, - { min:10,max:250, message: '名称长度在10-250个字符', trigger: 'change' } + { min:2,max:250, message: '名称长度在2-250个字符', trigger: 'change' } ], code: [ diff --git a/src/views/xm/core/xmProduct/XmProductEdit.vue b/src/views/xm/core/xmProduct/XmProductEdit.vue index edcac964..de202ea6 100644 --- a/src/views/xm/core/xmProduct/XmProductEdit.vue +++ b/src/views/xm/core/xmProduct/XmProductEdit.vue @@ -118,7 +118,7 @@ editFormRules: { productName: [ { required: true, message: '产品名称不能为空', trigger: 'change' }, - { min:10,max:250, message: '名称长度在10-250个字符', trigger: 'change' } + { min:2,max:250, message: '名称长度在10-250个字符', trigger: 'change' } ], id: [ diff --git a/src/views/xm/core/xmProject/XmProjectEdit.vue b/src/views/xm/core/xmProject/XmProjectEdit.vue index 07f61e52..b7dc4611 100644 --- a/src/views/xm/core/xmProject/XmProjectEdit.vue +++ b/src/views/xm/core/xmProject/XmProjectEdit.vue @@ -448,7 +448,7 @@ name: [{ required: true, message: '项目名称不可为空' , trigger: 'change' }, - { min:5,max:50, message: '名称长度在2-50个字符', trigger: 'change' } + { min:2,max:50, message: '名称长度在2-50个字符', trigger: 'change' } ], code: [{