From d8d8758cfa2be580e02949a8266cb3c68da97efa Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 03 Jun 2021 13:55:22 +0800
Subject: [PATCH] 修复关闭confirm提示框控制台报错问题
---
ruoyi-ui/src/views/system/notice/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/views/system/notice/index.vue b/ruoyi-ui/src/views/system/notice/index.vue
index a438013..f3931a4 100644
--- a/ruoyi-ui/src/views/system/notice/index.vue
+++ b/ruoyi-ui/src/views/system/notice/index.vue
@@ -224,7 +224,7 @@
{ required: true, message: "公告标题不能为空", trigger: "blur" }
],
noticeType: [
- { required: true, message: "公告类型不能为空", trigger: "blur" }
+ { required: true, message: "公告类型不能为空", trigger: "change" }
]
}
};
@@ -336,7 +336,7 @@
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
- })
+ }).catch(() => {});
}
}
};
--
Gitblit v1.9.3