Commit 911d34f3 authored by youjie's avatar youjie

修复门票、包车日期翻页

parent 06623103
...@@ -892,7 +892,7 @@ export default { ...@@ -892,7 +892,7 @@ export default {
this.currentYM.str = time this.currentYM.str = time
this.$refs.orderPreview.resetHandler() this.$refs.orderPreview.resetHandler()
} }
this.priceList = []
this.apipost( this.apipost(
"b2c_get_GetTicketCouponsMonthPriceAll", "b2c_get_GetTicketCouponsMonthPriceAll",
{ {
...@@ -920,7 +920,10 @@ export default { ...@@ -920,7 +920,10 @@ export default {
arr.push(dataObj) arr.push(dataObj)
} }
}) })
this.priceList = JSON.parse(JSON.stringify(arr)) if(arr.length>0){
this.priceList = []
this.priceList = JSON.parse(JSON.stringify(arr))
}
} }
},null) },null)
......
...@@ -965,7 +965,7 @@ export default { ...@@ -965,7 +965,7 @@ export default {
this.currentYM.str = time this.currentYM.str = time
this.$refs.orderPreview.resetHandler() this.$refs.orderPreview.resetHandler()
} }
this.priceList = []
this.apipost( this.apipost(
"b2c_get_GetCarSingleProductMonthPrice", "b2c_get_GetCarSingleProductMonthPrice",
{ {
...@@ -1002,7 +1002,11 @@ export default { ...@@ -1002,7 +1002,11 @@ export default {
} }
arr.push(dataObj) arr.push(dataObj)
} }
this.priceList = JSON.parse(JSON.stringify(arr)) if(arr.length>0){
this.priceList = []
this.priceList = JSON.parse(JSON.stringify(arr))
}
} }
},null) },null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment