From 1499bacfed2d21cffc75af31ed5c9c67864cc0e4 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期六, 03 八月 2024 16:04:39 +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