Commit 51809e9c authored by 张牧越's avatar 张牧越

bugfix

parent 7a5933bd
......@@ -403,8 +403,8 @@ export default {
searchRecords() {
getSafeCapUseRecords({
device_id: this.windowData.id,
start_time: this.searchForm.dateRange[0],
end_time: this.searchForm.dateRange[1],
start_time: this.searchForm.dateRange && this.searchForm.dateRange[0],
end_time: this.searchForm.dateRange && this.searchForm.dateRange[1],
limit: this.pageSize,
page: 1,
}).then((res) => {
......
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