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}` || ' ' }}