#
whycq
2023-02-07 5d80e46cadf7b9358dd9004083de267cbf8471ab
App.vue
@@ -84,9 +84,13 @@
         ]
      },
      onShow: function() {
         // 隐藏时间,电量,信号等
         // #ifdef APP-PLUS
         plus.navigator.setFullscreen(true)
         // #endif
         // 获取版本
         this.getVersion();
         this.baseUrll = uni.getStorageSync("baseUrl")
         // console.log(this.baseUrll);
         console.log('App Show')
      },
      onHide: function() {
@@ -117,9 +121,9 @@
         getUpdateVersion() {
            let that = this;
            uni.request({
               url: that.baseUrll + "/appUpdate/queryUpdate",
               url: that.baseUrll + "/mobile/appUpdate/queryUpdate",
               // data: {combParam: 'asd'},
               method:'GET',
               data: {combParam: 'asd'},
               success(res) {
                  console.log(res);
               }