From 24c4699005da96f45562d7057d80c103b8e428a2 Mon Sep 17 00:00:00 2001
From: WangHan <wwh_work@126,com>
Date: 星期五, 03 一月 2025 10:32:34 +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