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(() => { - +