|
@@ -147,7 +147,7 @@ export default {
|
|
|
this.$store.commit('cachedViews/DEL_CACHED_VIEW', {
|
|
|
name: 'parkingFeeDetail',
|
|
|
});
|
|
|
- uni.setStorageSync('carList', [...new Set([carno, ...JSON.parse(uni.getStorageSync('carList'))])].slice(0, 6));
|
|
|
+ uni.setStorageSync('carList', [...new Set([carno, ...JSON.parse(uni.getStorageSync('carList') || '[]')])].slice(0, 6));
|
|
|
this.$store.commit('cachedViews/DEL_CACHED_VIEW', {
|
|
|
name: 'parkingFeeDetail',
|
|
|
});
|