.
This commit is contained in:
parent
c99309750a
commit
aee1fe25d3
@ -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("已是最新版本!");
|
||||
}
|
||||
})
|
||||
};
|
||||
|
BIN
static/images/chengxushengji.png
Normal file
BIN
static/images/chengxushengji.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Loading…
Reference in New Issue
Block a user