bug
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user