石广澎
2024-09-03 53d549839c8568f6e45fe14ae1e8c4bebe159ead
App.vue
@@ -1,7 +1,11 @@
<script>
import Vconsole from 'vconsole';
   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 +51,10 @@
      color: #DE2D35;
   }
   .color-green {
      color: #3fde2d;
   }
   .font-bold {
      font-weight: bolder;
   }