This commit is contained in:
liuye
2022-06-02 18:03:13 +08:00
parent 15877d15f4
commit c353a19fe5

View File

@@ -231,6 +231,9 @@ export default {
this.getList(); this.getList();
}, },
onConfirm() { onConfirm() {
if(this.form.ruleType==1 && !this.form.ladderRule.length) {
return this.$message.error('请添加规则')
}
this.$refs.DialogForm.validate((valid) => { this.$refs.DialogForm.validate((valid) => {
if (valid) { if (valid) {
let formData = this.$copy(this.form) let formData = this.$copy(this.form)