⬆️ 升级 axios 版本.

This commit is contained in:
lijiahang
2025-01-14 10:09:07 +08:00
parent 956c34176d
commit 8d71d64d49
17 changed files with 67 additions and 56 deletions

View File

@@ -50,7 +50,7 @@
</template>
</a-button>
</a-tooltip>
<a-dropdown trigger="click" @select="(s: string) => changeLocale(s)">
<a-dropdown trigger="click" @select="(s) => changeLocale(s as string)">
<div ref="localeRef" class="trigger-btn" />
<template #content>
<a-doption v-for="item in locales"
@@ -176,7 +176,7 @@
<template #content>
<!-- 个人中心 -->
<a-doption>
<a-space @click="$router.push({ name: 'userInfo' })">
<a-space @click="router.push({ name: 'userInfo' })">
<icon-user />
<span>个人中心</span>
</a-space>

View File

@@ -3,7 +3,7 @@
:popup-max-height="false"
@select="actionSelect">
<span class="arco-tag arco-tag-size-medium arco-tag-checked"
:class="{ 'link-activated': itemData?.path === $route.path }"
:class="{ 'link-activated': itemData?.path === route.path }"
@click="goto(itemData as TagProps)">
<span class="tag-link">
{{ itemData.title }}
@@ -69,8 +69,8 @@
itemData: TagProps;
}>();
const router = useRouter();
const route = useRoute();
const router = useRouter();
const tabBarStore = useTabBarStore();
const goto = (tag: TagProps) => {