修改线上接口地址

This commit is contained in:
2026-08-31 10:05:51 +08:00
parent 76fe37d378
commit 5ecd8ac95c
5 changed files with 565 additions and 464 deletions
@@ -4,6 +4,7 @@ import type { VNode } from 'vue';
import { useAuthStore } from '@/store/modules/auth';
import { useRouterPush } from '@/hooks/common/router';
import { useSvgIcon } from '@/hooks/common/icon';
import { localStg } from '@/utils/storage';
defineOptions({
name: 'UserAvatar'
@@ -80,7 +81,7 @@ function handleDropdown(key: DropdownKey) {
<div>
<ButtonIcon>
<SvgIcon icon="ph:user-circle" class="text-icon-large" />
<span class="text-16px font-medium">{{ authStore.userInfo.username }}</span>
<span class="text-16px font-medium">{{ localStg.get('userInfo')?.username }}</span>
</ButtonIcon>
</div>
</NDropdown>