认证-参数项收集-添加:解决前端不能提交问题

This commit is contained in:
liyawei
2022-09-08 13:23:53 +08:00
parent 5464db38a0
commit d832dca0bb
@@ -196,8 +196,8 @@
if (this.selectedRowKeys.length == 0) { if (this.selectedRowKeys.length == 0) {
this.$message.warning(this.$t('pleaseSelectData')) this.$message.warning(this.$t('pleaseSelectData'))
} else { } else {
this.$refs.ruleForm.validate(valid => { // this.$refs.ruleForm.validate(valid => {
if (valid) { // if (valid) {
this.flag = true this.flag = true
this.spinLoading = true this.spinLoading = true
this.confirmLoading = true this.confirmLoading = true
@@ -223,10 +223,10 @@
this.spinLoading = false this.spinLoading = false
this.newVisible = false this.newVisible = false
}) })
} else { // } else {
return false // return false
} // }
}) // })
} }
}, },
cancelModel() { cancelModel() {