瀏覽代碼

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

zhanghui 2 年之前
父節點
當前提交
4fa321ecf2
共有 1 個文件被更改,包括 2 次插入0 次删除
  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({