石广澎
2024-11-04 90169550c9f6836e715360b3fc2163e159432814
App.vue
@@ -2,7 +2,9 @@
import Vconsole from 'vconsole';
   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();
      }