This commit is contained in:
XIAO钧i
2025-11-14 14:54:56 +08:00
6 changed files with 35 additions and 16 deletions

View File

@@ -62,7 +62,9 @@ async function init() {
store.load = true
setTheme(settingStore.theme)
if (!settingStore.first) {
if (settingStore.first) {
set(APP_VERSION.key,APP_VERSION.version)
}else {
get(APP_VERSION.key).then(r => {
runtimeStore.isNew = r ? (APP_VERSION.version > Number(r)) : true
})