Commit 82a15259 authored by 纪泽龙's avatar 纪泽龙

搜索的时候清空上一个数组

parent f423bf1d
...@@ -156,6 +156,7 @@ export default { ...@@ -156,6 +156,7 @@ export default {
}, },
/**获取历史轨迹*/ /**获取历史轨迹*/
getTrackHistory(query) { getTrackHistory(query) {
this.historyTrack=null;
historyTrack(query).then((res) => { historyTrack(query).then((res) => {
if (res.code == 200) { if (res.code == 200) {
if (res.data.devices) { if (res.data.devices) {
......
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