1
xuxueyang
2024-08-02 8aa82df35da58d84a189df66c71d85f9eed8ad0e
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(async () => {
                              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 {