fix: 参数配置Form标签top横向
This commit is contained in:
@@ -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') {
|
||||
|
||||
@@ -1059,7 +1059,7 @@ onMounted(() => {
|
||||
<template #icon><DeleteOutlined /></template>
|
||||
</a-button>
|
||||
</a-tooltip>
|
||||
<a-tooltip>
|
||||
<a-tooltip placement="topLeft">
|
||||
<template #title>
|
||||
{{ t('views.system.user.resetPwd') }}
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user