From b0f5961a3571413a1a5a4cd9694a05186fa9c0a1 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 20 八月 2024 16:19:52 +0800
Subject: [PATCH] fix bug

---
 sub_pages/customer/shopping/confirm.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sub_pages/customer/shopping/confirm.vue b/sub_pages/customer/shopping/confirm.vue
index 95923cb..625c1f9 100644
--- a/sub_pages/customer/shopping/confirm.vue
+++ b/sub_pages/customer/shopping/confirm.vue
@@ -57,12 +57,12 @@
 					params: {
 						// id: this.currentInfo.customerDTO.partnerId
 					}
-				}).then(res => {
+				}).then(async res => {
 					if (res.code == 0) {
 						this.partnerInfo = res.data || {}
 						if (this.partnerInfo.id !== this.currentInfo.customerDTO.partnerId) {
 							//刷新用户信息
-							await dispatch('getCurrentInfo')
+							await this.$store.dispatch('getCurrentInfo')
 						}
 					}
 				})

--
Gitblit v1.9.3