This commit is contained in:
2026-04-27 14:48:57 +08:00
parent f1ce86b5e8
commit cd7c4c8d3b
11 changed files with 176 additions and 107 deletions

View File

@@ -6,6 +6,7 @@ import { useUserStore } from "@/stores/userStore";
import { useDialogStore } from "@/stores/dialogStore";
import { useAuthStore } from "@/stores/authStore";
import { useWeixinShare } from "@/composables/useWeixinShare";
import { useAppConfig } from "@/composables/useAppConfig";
import WechatOverlay from "@/components/WechatOverlay.vue";
// import MaintenanceDialog from "@/components/MaintenanceDialog.vue";
@@ -15,8 +16,11 @@ const userStore = useUserStore();
const dialogStore = useDialogStore();
const authStore = useAuthStore();
const { configWeixinShare, setDynamicShare } = useWeixinShare();
const { loadAppConfig } = useAppConfig();
onMounted(() => {
void loadAppConfig();
// 检查token版本如果版本不匹配则清除旧token
checkTokenVersion()
@@ -218,7 +222,7 @@ const h5WeixinGetCode = () => {
<template>
<RouterView />
<WechatOverlay />
<!-- <WechatOverlay /> -->
<BindPhoneDialog />
<!-- <MaintenanceDialog /> -->
</template>