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标签栏属性 */ /**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') {

View File

@@ -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>