mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-17 16:32:00 +08:00
feat(version): 添加版本更新检测功能
添加 version-polling 依赖并实现版本更新检测功能 移除旧的 CheckUpdates 组件,改用新的版本检测方案
This commit is contained in:
@@ -29,6 +29,7 @@ import { $t } from '#/locales';
|
||||
import { resetRoutes } from '#/router';
|
||||
import { useAuthStore, useNotifyStore } from '#/store';
|
||||
import { useTenantStore } from '#/store/tenant';
|
||||
import { useVersionUpdate } from '#/utils/check-update';
|
||||
import LoginForm from '#/views/_core/authentication/login.vue';
|
||||
|
||||
const userStore = useUserStore();
|
||||
@@ -131,6 +132,8 @@ watch(
|
||||
immediate: true,
|
||||
},
|
||||
);
|
||||
// 检测版本更新
|
||||
useVersionUpdate();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user