fix: 参数配置Form标签top横向

This commit is contained in:
TsMask
2023-11-15 10:23:19 +08:00
parent c1a0c6f208
commit b569fa57b6
2 changed files with 3 additions and 3 deletions

View File

@@ -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') {