From 30cb0df99ada7cffda1bd5b97c52ea3e45c4cda7 Mon Sep 17 00:00:00 2001
From: xuxy <1059738716@qq.com>
Date: 星期一, 12 八月 2024 22:05:41 +0800
Subject: [PATCH] update

---
 pages/login/supplier-login.vue |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/pages/login/supplier-login.vue b/pages/login/supplier-login.vue
index f7c1619..dcb669d 100644
--- a/pages/login/supplier-login.vue
+++ b/pages/login/supplier-login.vue
@@ -308,8 +308,7 @@
 		},
 		onShareAppMessage() {
 			let that = this;
-			var name = that.currentInfo.customerDTO && currentInfo.customerDTO.name || that.currentInfo.supplierDTO &&
-				currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && currentInfo.partnerDTO.name || ''
+			var name = that.currentInfo.customerDTO&&that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO&&that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO&&that.currentInfo.partnerDTO.name || ''
 			var url =
 				`/pages/login/supplier-login?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
 			return {
@@ -319,8 +318,7 @@
 		},
 		onShareTimeline() {
 			let that = this;
-			var name = that.currentInfo.customerDTO && currentInfo.customerDTO.name || that.currentInfo.supplierDTO &&
-				currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && currentInfo.partnerDTO.name || ''
+			var name = that.currentInfo.customerDTO&&that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO&&that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO&&that.currentInfo.partnerDTO.name || ''
 			var url =
 				`/pages/login/supplier-login?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
 			return {
@@ -425,7 +423,7 @@
 				}, 1000)
 			},
 			toHome() {
-				uni.redirectTo({
+				uni.reLaunch({
 					url: '/pages/home/home'
 				})
 			},
@@ -441,7 +439,7 @@
 				})
 				// #endif
 				// #ifdef PUB_SUPPLIER
-				uni.redirectTo({
+				uni.reLaunch({
 					url: '/pages/login/supplier-reg'
 				})
 				// #endif
@@ -450,7 +448,7 @@
 				// uni.navigateTo({
 				// 	url: '/sub_pages/customer/customer-info/customer-info' + addstr
 				// })
-				uni.redirectTo({
+				uni.reLaunch({
 					url: '/pages/login/supplier-reg'
 				})
 				// todo 如果是有分享id的,可能需要提前进行绑定
@@ -527,7 +525,7 @@
 					// 	uni.navigateBack();
 					// }, 1000);
 
-					//todo 登录后可能需要进行绑定
+					
 
 				} else {
 					// uni.showToast({

--
Gitblit v1.9.3