Commit 4d5e6f0e by lixiaomin

修改选项

parent bd797caa
......@@ -106,8 +106,8 @@ export default {
var validateSpecRules = (rule, value, callback) => {
if (value.length==0) {
callback(new Error('请添加选项'));
}else if(value.length<2){
callback(new Error('请最少添加2个选项'));
}else if(value.length<1){
callback(new Error('请最少添加1个选项'));
}else {
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