mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 21:40:45 +08:00
优化代码
This commit is contained in:
@@ -451,7 +451,7 @@ export default {
|
||||
arr.push({val: "", action: "allow", port: 0});
|
||||
},
|
||||
submitForm(formName) {
|
||||
this.$refs[formName].validate((valid, obj) => {
|
||||
this.$refs[formName].validate((valid) => {
|
||||
if (!valid) {
|
||||
console.log('error submit!!');
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user