Explorar o código

feat: 绑定失败也删除拓客参数

zhanghui %!s(int64=2) %!d(string=hai) anos
pai
achega
4fa321ecf2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      App.vue

+ 2 - 0
App.vue

@@ -48,6 +48,8 @@
                                 ).then(res1 => {
                                     console.log('拓客端推广用户绑定成功!')
                                     uni.removeStorageSync('expandParam');
+                                }).catch(err=>{
+                                    uni.removeStorageSync('expandParam');
                                 })
                             }else {
                                 uni.showModal({