石广澎
2024-09-13 7e541d9f2c17ee9e938fd017c483910186412348
feat(支付):
日志输出
1个文件已修改
4 ■■■ 已修改文件
App.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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();
      }