From 4d4848ecda65adf399cd15a83049a4435e9a06c7 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期四, 08 八月 2024 11:35:21 +0800
Subject: [PATCH] feat(支付): 登录逻辑修噶

---
 App.vue |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/App.vue b/App.vue
index 508e61e..7d6db53 100644
--- a/App.vue
+++ b/App.vue
@@ -2,11 +2,16 @@
 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 (uni.getStorageSync('DEBUG')) {
+        new Vconsole();
+      }
       /*console.log(opt)
       let platform = 2
       const redirect_uri = encodeURIComponent(`${config.webURL}/pay/scanpay?cid=${opt.query.cid}`)

--
Gitblit v1.9.1