石广澎
2024-12-25 517840ff199063419bbda4d1d4ef2b0ebc49e71d
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();
      }