From 517840ff199063419bbda4d1d4ef2b0ebc49e71d Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期三, 25 十二月 2024 11:23:53 +0800
Subject: [PATCH] feat(支持线上订单支付 ):

---
 App.vue |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/App.vue b/App.vue
index dbfb431..d313404 100644
--- a/App.vue
+++ b/App.vue
@@ -1,14 +1,10 @@
 <script>
-import {
-  config,
-} from 'common/config.js';
 import Vconsole from 'vconsole';
-import {
-  getPlat
-} from 'common/util.js';
 	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();
       }

--
Gitblit v1.9.1