feat():规则版本模块的前端

master
czq 2024-05-17 08:49:24 +08:00
parent aca430bf69
commit 7ef6417466
1 changed files with 2 additions and 4 deletions

View File

@ -321,8 +321,7 @@ export default {
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
console.log(JSON.stringify(this.form)) console.log(JSON.stringify(this.form))
if (valid) { if (valid) {
insertRuleEngine(this.form).then( insertRuleEngine(this.form).then(res => {
res => {
if (this.form==null){ if (this.form==null){
this.$message.success("添加成功") this.$message.success("添加成功")
}else { }else {
@ -330,8 +329,7 @@ export default {
} }
this.open = false this.open = false
this.getList() this.getList()
} })
)
} }
}); });
}, },