Faster dialog switch

This commit is contained in:
Natsumi
2026-01-24 02:25:49 +13:00
committed by pa
parent fb9ec31c93
commit 0af08e7741
8 changed files with 9 additions and 14 deletions

View File

@@ -327,7 +327,7 @@
</div>
<TabsUnderline
v-model="avatarDialogActiveTab"
v-model="avatarDialog.activeTab"
:items="avatarDialogTabs"
:unmount-on-hide="false"
@update:modelValue="avatarDialogTabClick">
@@ -606,7 +606,6 @@
{ value: 'JSON', label: t('dialog.avatar.json.header') }
]);
const avatarDialogActiveTab = ref('Info');
const changeAvatarImageDialogVisible = ref(false);
const previousImageUrl = ref('');
@@ -677,7 +676,6 @@
);
function handleAvatarDialogTab(tabName) {
avatarDialogActiveTab.value = tabName;
avatarDialog.value.lastActiveTab = tabName;
if (tabName === 'JSON') {
refreshAvatarDialogTreeData();