From 5f3922cb7573c208d1a9fc5577178f8d8e2747c3 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期一, 05 八月 2024 10:55:19 +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