石广澎
2024-09-20 a686c879b57b1c3ba193087d8c845bf83a1b4fea
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();
      }