石广澎
2024-09-20 3b3e5a8f392623f273c5eda0a5bb975ceb922d1a
App.vue
@@ -1,14 +1,10 @@
<script>
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(opt.query?.debug){
        uni.setStorageSync('DEBUG', opt.query?.debug == 'true');
      }
      if (uni.getStorageSync('DEBUG')) {
        new Vconsole();
      }