From 52a4d16ecb99697a698ce1eda151a5b16c8230d1 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期二, 16 七月 2024 21:06:45 +0800
Subject: [PATCH] feat(支付): 支付成功页面

---
 pay/login.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/pay/login.vue b/pay/login.vue
index 286edea..9204bd8 100644
--- a/pay/login.vue
+++ b/pay/login.vue
@@ -6,9 +6,8 @@
 
 <script>
 	import {
-		config,
-		ACCESSTOKEN
-	} from '@/common/config.js';
+		config
+	} from 'common/config.js';
 	export default {
 		data() {
 			return {
@@ -17,10 +16,10 @@
 		},
 		onLoad(opt) {
       const redirect_uri = encodeURIComponent(`${config.webURL}/pay/scanpay?cid=${opt.cid}`)
-      /*if(uni.getStorageSync('UNIONID'+this.platform)){
+      if(uni.getStorageSync('UNIONID'+this.platform)){
         window.location.href = redirect_uri
         return
-      }*/
+      }
 			uni.clearStorage()
 			if (this.platform == 2) {
 				window.location.href =

--
Gitblit v1.9.1