fix: 参数配置Form标签top横向
This commit is contained in:
@@ -40,7 +40,7 @@ type TabStateType = {
|
|||||||
|
|
||||||
/**tab标签栏属性 */
|
/**tab标签栏属性 */
|
||||||
let tabState: TabStateType = reactive({
|
let tabState: TabStateType = reactive({
|
||||||
tabPosition: 'left',
|
tabPosition: 'top',
|
||||||
tabNames: [],
|
tabNames: [],
|
||||||
tabActiveTopTag: '',
|
tabActiveTopTag: '',
|
||||||
tabType: 'list',
|
tabType: 'list',
|
||||||
@@ -63,8 +63,8 @@ function fnTabActiveTopTag(key: string | number) {
|
|||||||
const topTag = tabState.tabActiveTopTag;
|
const topTag = tabState.tabActiveTopTag;
|
||||||
getParamConfigInfoForm(neType, topTag, neId)
|
getParamConfigInfoForm(neType, topTag, neId)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
console.log(res);
|
|
||||||
if (res.code === RESULT_CODE_SUCCESS && res.data.type) {
|
if (res.code === RESULT_CODE_SUCCESS && res.data.type) {
|
||||||
|
tabState.tabActiveTopTag = topTag; // 激活当前数据项
|
||||||
tabState.loading = false;
|
tabState.loading = false;
|
||||||
tabState.tabType = res.data.type;
|
tabState.tabType = res.data.type;
|
||||||
if (res.data.type === 'list') {
|
if (res.data.type === 'list') {
|
||||||
|
|||||||
@@ -1059,7 +1059,7 @@ onMounted(() => {
|
|||||||
<template #icon><DeleteOutlined /></template>
|
<template #icon><DeleteOutlined /></template>
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip>
|
<a-tooltip placement="topLeft">
|
||||||
<template #title>
|
<template #title>
|
||||||
{{ t('views.system.user.resetPwd') }}
|
{{ t('views.system.user.resetPwd') }}
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user