Commit d5c185dfe14f5dcedb45ba273c1f14f0190d5034
1 parent
8b998011
地址回选优化
Showing
1 changed file
with
9 additions
and
0 deletions
src/pages/pointsExchangeRecords/pointsExchangeRecords.vue
| @@ -222,6 +222,15 @@ export default { | @@ -222,6 +222,15 @@ export default { | ||
| 222 | }, | 222 | }, |
| 223 | //请求数据 | 223 | //请求数据 |
| 224 | created () { | 224 | created () { |
| 225 | + if (this.isiPhone.value) { | ||
| 226 | + this.pointsToast_control = this.$route.query.pointsToast_control; | ||
| 227 | + } else { | ||
| 228 | + let ext = window.localStorage.getItem("ext"); | ||
| 229 | + this.pointsToast_control = this.getParameterByName( | ||
| 230 | + "pointsToast_control", | ||
| 231 | + ext | ||
| 232 | + ); | ||
| 233 | + } | ||
| 225 | }, | 234 | }, |
| 226 | mounted () { | 235 | mounted () { |
| 227 | } | 236 | } |