This commit is contained in:
Iruka 2025-02-10 17:41:14 +08:00
parent c99309750a
commit aee1fe25d3
2 changed files with 4 additions and 1 deletions

View File

@ -54,6 +54,7 @@
ref
} from "vue";
import store from '@/store'
import plugin from "@/plugins"
import {
getNewAppVersion
} from '@/api/index.js'
@ -73,8 +74,10 @@
getNewAppVersion().then(res => {
getApp().setUpdateVersion(res.data);
version.value = getApp().version;
if (version.value) {
if (version.value.newV) {
appUpdate.value.show();
}else{
plugin.modal.showToast("已是最新版本!");
}
})
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB