From fa3a13b43cdcd3bcc42abae4d9c0a67e48ebea41 Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期二, 12 十二月 2023 16:05:41 +0800 Subject: [PATCH] feat: bug修复 12536 --- admin-web/src/views/foundation/classification/index.vue | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/admin-web/src/views/foundation/classification/index.vue b/admin-web/src/views/foundation/classification/index.vue index b2705c7..115890d 100644 --- a/admin-web/src/views/foundation/classification/index.vue +++ b/admin-web/src/views/foundation/classification/index.vue @@ -208,11 +208,7 @@ initTreeData() { getTree().then((res) => { const content = res || []; - // this.treeDataList.splice(0, this.treeDataList.length) this.treeDataList = content; - // if (content.length > 0) { - // this.importSetting.fileSettings.data = {pid: content[0].id} - // } }); }, updState(row) { @@ -238,14 +234,11 @@ }) .then((res) => { this.$message.success('鍒犻櫎鎴愬姛锛�'); - this.search(); + this.refreshData(); }) .catch(() => {}); }, showAdd() { - // if (!this.editSetting.orgId) { - // this.$message.warning('璇峰厛閫夋嫨宸︿晶鏈烘瀯') - // } else { if (this.p && this.p) { this.editSetting.pid = this.p.id; } @@ -253,7 +246,6 @@ this.editSetting.info = null; this.editSetting.title = '鏂板'; this.editSetting.show = true; - // } }, showAudit(row) { this.editSetting.id = row.id; -- Gitblit v1.9.1