From b9f8426b3f446b5ad4a411d2193a040364725dfb Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 15 Nov 2023 19:53:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=82=E6=95=B0=E9=85=8D=E7=BD=AElist?= =?UTF-8?q?=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/configManage/configParam/index.vue | 21 +++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/views/configManage/configParam/index.vue b/src/views/configManage/configParam/index.vue index 64db5a7a..2f3c15a3 100644 --- a/src/views/configManage/configParam/index.vue +++ b/src/views/configManage/configParam/index.vue @@ -44,6 +44,11 @@ let tabState: TabStateType = reactive({ /**tab标签栏标签点击监听 */ function fnTabActiveTopTag(key: string | number) { + if (tableState.loading) return; + tableState.listData = []; + tableState.listColumns = []; + tableState.arrayData = []; + tableState.arrayColumns = []; tableState.loading = true; if (key !== '#') { tabState.tabActiveTopTag = key as string; @@ -81,11 +86,9 @@ function fnTabActiveTopTag(key: string | number) { } }) .finally(() => { - tableState.arrayNewIndex = -1; - tableState.editRecord = {}; - tableState.arrayChildNewIndex = -1; - tableState.arrayChildEditRecord = {}; tableState.loading = false; + listEditClose(); + arrayEditClose(); }); } @@ -270,6 +273,7 @@ function arrayEditClose() { tableState.arrayData.pop(); } tableState.editRecord = {}; + arrayChildEditClose(); } /**多列表编辑确认 */ @@ -1254,7 +1258,10 @@ onMounted(() => {
- {{ `${text}` || ' ' }} + + { {{ t('common.viewText') }}
- {{ `${text.value}` }} + {{ `${text.value}` || ' ' }}
@@ -1616,7 +1623,7 @@ onMounted(() => { {{ t('common.viewText') }}
- {{ `${text.value}` }} + {{ `${text.value}` || ' ' }}