扫码换代理在有订单的情况下提示 不能更换,在取消订单之后自动会自动更换,是因为没有取消缓存的缘故
@@ -268,6 +268,7 @@
url: this.$api.share.bind_parent
}).then(res => {
console.log('bind->',res)
+ this.$store.dispatch('user/setTempParentId', 0)
if(res.error){
uni.showToast({
title: res.error,