Jelajahi Sumber

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

zhanghui 2 tahun lalu
induk
melakukan
4fa321ecf2
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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({