From 5629e254508fecd923ebe878263e83d98149012e Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期六, 14 九月 2024 15:56:34 +0800
Subject: [PATCH] feat(支付): 优惠券空图片

---
 App.vue |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/App.vue b/App.vue
index 6d4c20d..d313404 100644
--- a/App.vue
+++ b/App.vue
@@ -1,7 +1,13 @@
 <script>
+import Vconsole from 'vconsole';
 	export default {
-		onLaunch: function() {
-			console.log('App Launch')
+		onLaunch: function(opt) {
+      if(opt.query?.debug){
+        uni.setStorageSync('DEBUG', opt.query?.debug == 'true');
+      }
+      if (uni.getStorageSync('DEBUG')) {
+        new Vconsole();
+      }
 		},
 		onShow: function() {
 			console.log('App Show')
@@ -47,6 +53,10 @@
 		color: #DE2D35;
 	}
 
+	.color-green {
+		color: #3fde2d;
+	}
+
 	.font-bold {
 		font-weight: bolder;
 	}

--
Gitblit v1.9.1