From 74ff2cd15d65511c26b6a1a2e58e6153deb1e938 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期五, 12 七月 2024 14:40:17 +0800
Subject: [PATCH] 1

---
 App.vue |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/App.vue b/App.vue
index 1aa56db..6bdaa3c 100644
--- a/App.vue
+++ b/App.vue
@@ -1,6 +1,7 @@
 <script>
 	// 合伙人: "appid" : "wx6d0ecc4e18710458",
-	// 花农: "appid" : "wx3203fd935a6ffe09",
+	// 花农: "appid" : "wx3203fd935a6ffe09",
+	// 花店 wx1441324401626290
 	import storage from '@/plugins/storage.js'
 
 	export default {
@@ -40,13 +41,14 @@
 			if (true && storage.getItem('token')) {
 				setTimeout(async () => {
 					const res = await this.$store.dispatch('getCurrentInfo');
-					// console.log('init info',res,this.currentInfo)
-					if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) {
-
-						uni.reLaunch({
-							url: '/pages/home/supplier-home'
-						})
-					}
+					// console.log('init info',res,this.currentInfo)
+					// #ifdef PUB_CUSTOMER
+					if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) {
+						uni.reLaunch({
+							url: '/pages/home/supplier-home'
+						})
+					}
+					// #endif
 				}, 200);
 			} else {
 

--
Gitblit v1.9.3