Commit eb45379ca2a4dc04353d94d1656da63019a92666
1 parent
f3bd38ae
历史记录
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/parkPay/plateNumber.vue
| ... | ... | @@ -355,7 +355,7 @@ export default { |
| 355 | 355 | // } |
| 356 | 356 | // } |
| 357 | 357 | |
| 358 | - this.boundList = localStorage.getItem('parkRecordList') ? localStorage.getItem('parkRecordList') : [] | |
| 358 | + this.boundList = JSON.parse(localStorage.getItem('parkRecordList')) ? JSON.parse(localStorage.getItem('parkRecordList')) : [] | |
| 359 | 359 | console.log(this.boundList) |
| 360 | 360 | }, |
| 361 | 361 | methods: { | ... | ... |