⬆️ 升级 axios 版本.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user