Browse Source

ghsPad 版本升级使用内部版本号

shizhongqi 4 năm trước cách đây
mục cha
commit
1d194bc358
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ghsPad/src/mixins/autoUpdate.js

+ 1 - 1
ghsPad/src/mixins/autoUpdate.js

@@ -9,7 +9,7 @@ export default {
     onLoad(){
         // #ifdef APP-PLUS
         plus.runtime.getProperty(plus.runtime.appid,(wgtinfo)=>{
-            this.version = wgtinfo.version
+            this.version = wgtinfo.versionCode
         });
         uni.getSystemInfo({
             success:(res) => {