| | |
| | | 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 {
|