MSE检查更新功能

This commit is contained in:
2023-11-11 01:41:06 +08:00
parent 7c833fe3ac
commit 1cb0c85e63
3 changed files with 20 additions and 8 deletions

View File

@ -129,8 +129,13 @@ class AppConf {
try {
networkVersionData = await Api.getAppVersion();
globalUIModel.checkActivityThemeColor();
dPrint(
"lastVersion=${networkVersionData?.lastVersion} ${networkVersionData?.lastVersionCode}");
if (isMSE) {
dPrint(
"lastVersion=${networkVersionData?.mSELastVersion} ${networkVersionData?.mSELastVersionCode}");
} else {
dPrint(
"lastVersion=${networkVersionData?.lastVersion} ${networkVersionData?.lastVersionCode}");
}
} catch (e) {
dPrint("_checkUpdate Error:$e");
}