Commit 4d5e6f0e by lixiaomin

修改选项

parent bd797caa
...@@ -106,8 +106,8 @@ export default { ...@@ -106,8 +106,8 @@ export default {
var validateSpecRules = (rule, value, callback) => { var validateSpecRules = (rule, value, callback) => {
if (value.length==0) { if (value.length==0) {
callback(new Error('请添加选项')); callback(new Error('请添加选项'));
}else if(value.length<2){ }else if(value.length<1){
callback(new Error('请最少添加2个选项')); callback(new Error('请最少添加1个选项'));
}else { }else {
callback(); callback();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment