From d113dc3d1e5f3b42ea414e8be538ce2442ffc899 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期二, 30 七月 2024 17:43:05 +0800
Subject: [PATCH] feat(支付): 支持C扫B动态码支付

---
 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