石广澎
2024-07-23 6a0f844cfd92ace03de38df7bc1f72d276a953bd
App.vue
@@ -2,11 +2,16 @@
import {
  config,
} from 'common/config.js';
import Vconsole from 'vconsole';
import {
  getPlat
} from 'common/util.js';
   export default {
      onLaunch: function(opt) {
      uni.setStorageSync('DEBUG', opt.query?.debug == 'true');
      if (uni.getStorageSync('DEBUG')) {
        new Vconsole();
      }
      /*console.log(opt)
      let platform = 2
      const redirect_uri = encodeURIComponent(`${config.webURL}/pay/scanpay?cid=${opt.query.cid}`)