Commit fbbc4b703cbeebc6b76c332927aff31686afcada
1 parent
e6e59de7
地址取消数据清除
Showing
1 changed file
with
5 additions
and
5 deletions
src/components/addressToast/addressToast.vue
| ... | ... | @@ -241,12 +241,12 @@ export default { |
| 241 | 241 | if (this.isAndroid.value) { |
| 242 | 242 | // 安卓下清除locaStroe的ext数据 |
| 243 | 243 | window.localStorage.removeItem("ext"); |
| 244 | - } else { | |
| 245 | - window.location.href = | |
| 246 | - window.location.href.split("?")[0] + | |
| 247 | - "?uid=" + | |
| 248 | - this.getStore("uid") + "&goodsId=" + this.$route.query.goodsId | |
| 249 | 244 | } |
| 245 | + // 清除URL数据pointsToast_control | |
| 246 | + window.location.href = | |
| 247 | + window.location.href.split("?")[0] + | |
| 248 | + "?uid=" + | |
| 249 | + this.getStore("uid") + "&goodsId=" + this.$route.query.goodsId | |
| 250 | 250 | }, |
| 251 | 251 | /** |
| 252 | 252 | * 确定 | ... | ... |