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

bugfix

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