From b07d5f16634fc4a695fa8e6f6b18c33806f2b05a Mon Sep 17 00:00:00 2001
From: xuxy <1059738716@qq.com>
Date: 星期五, 28 六月 2024 16:28:32 +0800
Subject: [PATCH] update 合伙人的功能

---
 App.vue |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/App.vue b/App.vue
index d279b31..9ad1faf 100644
--- a/App.vue
+++ b/App.vue
@@ -41,8 +41,23 @@
 					// console.log('init info',res,this.currentInfo)
 					if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) {
 						uni.reLaunch({
-							url: '/pages/home/farmer-home'
+							url: '/pages/home/supplier-home'
 						})
+					}
+				}, 200);
+			} else {
+
+			}
+			// #endif
+			// #ifdef H5
+			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'
+						// })
 					}
 				}, 200);
 			} else {
@@ -66,8 +81,14 @@
 </script>
 
 <style lang="scss">
+
 	/*每个页面公共css */
 	@import '@/uni_modules/uni-scss/index.scss';
+	/* uni.scss */
+	
+	// @import "@/uni_modules/uview-plus/index.scss";
+	@import "uview-ui/index.scss";
+
 	/* #ifndef APP-NVUE */
 	@import '@/static/customicons.css';
 

--
Gitblit v1.9.3