feat: 添加应用版本检查与更新提示功能;更新环境变量以支持版本管理
This commit is contained in:
@@ -7,6 +7,7 @@ const { locale, loadSavedLanguage } = useLanguage();
|
||||
const { initializeWallet } = useWalletStore();
|
||||
const { updateProfile } = useUserStore();
|
||||
const platform = usePlatform();
|
||||
const { checkAndPromptUpdate } = useAppUpdate();
|
||||
|
||||
onMounted(() => {
|
||||
if (!isAuthenticated.value)
|
||||
@@ -18,6 +19,9 @@ onMounted(() => {
|
||||
userStore.updateProfile();
|
||||
}
|
||||
});
|
||||
useTimeoutFn(() => {
|
||||
checkAndPromptUpdate();
|
||||
}, 3000);
|
||||
});
|
||||
|
||||
onBeforeMount(() => {
|
||||
|
||||
Reference in New Issue
Block a user