From c1f6996b25ddec9f576d380471b842b44a7f1545 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期五, 02 八月 2024 11:55:22 +0800
Subject: [PATCH] 1

---
 pages/user/supplier-user.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue
index 712ec82..7d2002c 100644
--- a/pages/user/supplier-user.vue
+++ b/pages/user/supplier-user.vue
@@ -368,17 +368,18 @@
 									data
 								} = await that.$http.request('post', '/api/customer/bind/partner', {
 									data: {
-										partnerId: partnerId
+										partnerUserId: partnerId
 									}
 								})
 								that.$message.hideLoading()
 								if (code == 0) {
 									that.$message.showToast(`绑定合伙人${partnerName}成功`)
-									setTimeout(() => {
-										that.$message.showLoading()
-										await that.$store.dispatch('getCurrentInfo')
-										that.$message.hideLoading()
-									}, 300)
+									await that.$store.dispatch('getCurrentInfo')
+
+									// setTimeout(async () => {
+									// 	that.$message.showLoading()
+									// 	that.$message.hideLoading()
+									// }, 1000)
 
 								}
 							} else {

--
Gitblit v1.9.3