From a1b85ef72062ca80db35546e4216dd564f3e0f57 Mon Sep 17 00:00:00 2001 From: WangHan <wwh_work@126,com> Date: 星期四, 03 四月 2025 15:58:19 +0800 Subject: [PATCH] 问题与漏洞修改 --- admin-web/src/views/foundation/classification/index.vue | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/admin-web/src/views/foundation/classification/index.vue b/admin-web/src/views/foundation/classification/index.vue index 3fe0c65..d74f803 100644 --- a/admin-web/src/views/foundation/classification/index.vue +++ b/admin-web/src/views/foundation/classification/index.vue @@ -229,22 +229,17 @@ vm.$modal.msgSuccess(text + '鎴愬姛'); vm.search(); } - }).catch((err) => { - vm.$message.warning(err.msg); - }); + }) }); }, del(row) { var that = this - this.$modal.confirm('鏄惁纭鍒犻櫎鍚嶇О涓�"' + row.categoryName + '"鐨勬満鏋勫悧锛�') + this.$modal.confirm('鏄惁纭鍒犻櫎鍚嶇О涓�"' + row.categoryName + '"鐨勫垎绫诲悧锛�') .then(function () { finsystenant.del({ id: row.id }).then((res) => { that.$message.success('鍒犻櫎鎴愬姛锛�'); that.refreshData(); }) - .catch((err) => { - that.$message.warning(err.msg); - }); }); }, showAdd() { -- Gitblit v1.9.1