cuiqian2004
4 天以前 2af5f043b60c1f7ac38ecccc8f5bf44743134325
App.vue
@@ -1,4 +1,8 @@
<script>
   import {
      showToast
   } from './comm/utils'
   export default {
      globalData: {
         platform: "",
@@ -16,13 +20,25 @@
            img_x: 1,
            img_y: 1,
         },
         withLog:false
         withLog: false,
         pageBigData: {},
         updateUrl: "http://39.170.81.174:5000" //"http://116.204.82.126/mobox3",
      },
      onLaunch: function() {
         console.log('App Launch')
         // #ifdef APP-PLUS
         plus.runtime.getProperty(plus.runtime.appid, (info) => {
            // console.log(info);
            _this.version = info.version;
            _this.checkAppVersion(_this.version)
         });
         //#endif
      },
      onShow: function() {
         console.log('App Show')
      },
      onHide: function() {
         console.log('App Hide')