石广澎
2024-08-30 847d368435d189cba684a8efd5f50a7d230a6e79
App.vue
@@ -1,7 +1,17 @@
<script>
import {
  config,
} from 'common/config.js';
import Vconsole from 'vconsole';
import {
  getPlat
} from 'common/util.js';
   export default {
      onLaunch: function() {
         console.log('App Launch')
      onLaunch: function(opt) {
      uni.setStorageSync('DEBUG', opt.query?.debug == 'true');
      if (uni.getStorageSync('DEBUG')) {
        new Vconsole();
      }
      },
      onShow: function() {
         console.log('App Show')
@@ -47,6 +57,10 @@
      color: #DE2D35;
   }
   .color-green {
      color: #3fde2d;
   }
   .font-bold {
      font-weight: bolder;
   }