diff --git a/src/components/parkRecord.vue b/src/components/parkRecord.vue index 86fde42..dc54ee4 100644 --- a/src/components/parkRecord.vue +++ b/src/components/parkRecord.vue @@ -207,6 +207,9 @@ export default { this.historyList = this.parkList.filter(item => { return item.parkState == '20' }) + if(this.parkingData.length==0&&this.historyList.length>0){ + this.currentTabActive = 1 + } this.historyList.forEach(i => { this.allMoney += Number(i.unPayFee) })