f
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user