From 8aa82df35da58d84a189df66c71d85f9eed8ad0e Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期五, 02 八月 2024 11:35:43 +0800 Subject: [PATCH] 1 --- pages/user/supplier-user.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue index 712ec82..5d66b3e 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 + userId: partnerId } }) that.$message.hideLoading() if (code == 0) { - that.$message.showToast(`绑定合伙人${partnerName}成功`) - setTimeout(() => { - that.$message.showLoading() - await that.$store.dispatch('getCurrentInfo') - that.$message.hideLoading() - }, 300) + that.$message.showToast(`绑定合伙人${partnerName}成功`) + await that.$store.dispatch('getCurrentInfo') + + // setTimeout(async () => { + // that.$message.showLoading() + // that.$message.hideLoading() + // }, 1000) } } else { -- Gitblit v1.9.3