From e4b10d06dcad7214e5852415eede1083a0ec9bda Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 14 八月 2024 10:02:23 +0800
Subject: [PATCH] 售后理由、图片必填
---
sub_pages/customer/shopping/confirm.vue | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/sub_pages/customer/shopping/confirm.vue b/sub_pages/customer/shopping/confirm.vue
index 60e173c..bfd1426 100644
--- a/sub_pages/customer/shopping/confirm.vue
+++ b/sub_pages/customer/shopping/confirm.vue
@@ -51,20 +51,18 @@
// 两种情况,我合伙人是A,我进入页面前改成了B,我进去后还是获取了A——可以通过
if (this.currentInfo.customerDTO && this.currentInfo.customerDTO.partnerId) {
- //todo 考虑一下,由后台实时获取,如果获取的合伙人id不一样,那么就刷新当前用户信息。
+ // 考虑一下,由后台实时获取,如果获取的合伙人id不一样,那么就刷新当前用户信息。
- // await this.refrehCurrentInfo()
-
- this.$http.request('get', '/api/partner/page/view', {
+ this.$http.request('get', '/api/current/customer/partner', {
params: {
- id: this.currentInfo.customerDTO.partnerId
+ // 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 dispatch('getCurrentInfo')
}
}
})
--
Gitblit v1.9.3