Commit f85812f3 by 李长胜

修改提示

1 parent 7109ba97
...@@ -167,7 +167,7 @@ export default { ...@@ -167,7 +167,7 @@ export default {
if (len > 30) { if (len > 30) {
//重点重点,下面就是填写提示的文字 (len < 4 && len> 0) || //重点重点,下面就是填写提示的文字 (len < 4 && len> 0) ||
// callback(new Error('名称长度为4-30个字符,一个中文字等于2个字符。')); // callback(new Error('名称长度为4-30个字符,一个中文字等于2个字符。'));
callback(new Error('名称长度不大于30个字符,一个中文字等于2个字符')) callback(new Error('字数已达上限'))
} else { } else {
callback() callback()
} }
...@@ -268,7 +268,7 @@ export default { ...@@ -268,7 +268,7 @@ export default {
label: '标签组名称', label: '标签组名称',
prop: 'tagsName', prop: 'tagsName',
type: 'input', type: 'input',
placeholder: '添加标签组名称,最多30个字符', placeholder: '最多30个字符,1个汉字为2个字符',
// maxlength: 30, // maxlength: 30,
// showWordLimit: true, // showWordLimit: true,
disabled: false disabled: false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!