From b569fa57b66f1d5fa046e9f230ec1df142ad4e4c Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 15 Nov 2023 10:23:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=82=E6=95=B0=E9=85=8D=E7=BD=AEForm?= =?UTF-8?q?=E6=A0=87=E7=AD=BEtop=E6=A8=AA=E5=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/configManage/configParamForm/index.vue | 4 ++-- src/views/system/user/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/configManage/configParamForm/index.vue b/src/views/configManage/configParamForm/index.vue index ffed2960..6d714a72 100644 --- a/src/views/configManage/configParamForm/index.vue +++ b/src/views/configManage/configParamForm/index.vue @@ -40,7 +40,7 @@ type TabStateType = { /**tab标签栏属性 */ let tabState: TabStateType = reactive({ - tabPosition: 'left', + tabPosition: 'top', tabNames: [], tabActiveTopTag: '', tabType: 'list', @@ -63,8 +63,8 @@ function fnTabActiveTopTag(key: string | number) { const topTag = tabState.tabActiveTopTag; getParamConfigInfoForm(neType, topTag, neId) .then(res => { - console.log(res); if (res.code === RESULT_CODE_SUCCESS && res.data.type) { + tabState.tabActiveTopTag = topTag; // 激活当前数据项 tabState.loading = false; tabState.tabType = res.data.type; if (res.data.type === 'list') { diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 8bc7596c..b7e71aa4 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -1059,7 +1059,7 @@ onMounted(() => { - +