This commit is contained in:
shijingjing
2022-06-30 11:57:34 +08:00
parent 392ba406bc
commit fbd7680927
2 changed files with 21 additions and 39 deletions

View File

@@ -241,6 +241,7 @@ export default {
close() {
this.form = {
classify: '0',
eventName: '',
eventDesc: '',
ruleType: '',
@@ -314,7 +315,7 @@ export default {
...this.form,
id: this.form.id || ''
}).then((res) => {
if (res.code == 0) {
if (res?.code == 0) {
this.$message.success(`${this.isEdit ? '编辑成功' : '添加成功'}`)
this.dialog = false;
this.getList()