修改配置文件代码
This commit is contained in:
parent
c2400c07e1
commit
9e8e5afe41
@ -190,9 +190,9 @@ export default {
|
||||
validate(callback) {
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (valid) {
|
||||
callback();
|
||||
callback(true);
|
||||
} else {
|
||||
return false;
|
||||
callback(false);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user