feat: 解决wgt更新问题
This commit is contained in:
+1
-1
@@ -305,7 +305,6 @@ export default {
|
||||
const self = this,
|
||||
localAppVersonName = uni.getStorageSync('version'),
|
||||
localAppVerson = uni.getStorageSync('versionCode');
|
||||
|
||||
// #ifdef APP-PLUS
|
||||
plus.runtime.getProperty(plus.runtime.appid, function (widgetInfo) {
|
||||
const params = {
|
||||
@@ -313,6 +312,7 @@ export default {
|
||||
versionCode: localAppVerson,
|
||||
}
|
||||
checkAppVersion(params).then(res => {
|
||||
console.log("wgt更新-1", res)
|
||||
if (res && res.bizcode === 100) {
|
||||
const data = res.data || {};
|
||||
// app大版本更新,versionName:1.0.1 versionCode:102
|
||||
|
||||
Reference in New Issue
Block a user