From 83c379bff0a39dd86ab6fb145c40b22f74978780 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期三, 30 十二月 2020 17:21:24 +0800 Subject: [PATCH] 轨迹图添加时间快捷设置 --- src/pages/search/index/Searching.vue | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/pages/search/index/Searching.vue b/src/pages/search/index/Searching.vue index 327682f..6dd0557 100644 --- a/src/pages/search/index/Searching.vue +++ b/src/pages/search/index/Searching.vue @@ -343,6 +343,13 @@ this.VideoPhotoData.selectWhites = []; }, watch: { + 'TreeDataPool.treeActiveName' (n, o) { + if (n && n == 'camera') { + console.log('mounted 鏌ヨes') + this.VideoPhotoData.treeNodes = []; + this.setLoadSearch(this.VideoPhotoData.querySearchList()); + } + }, "TreeDataPool.showTreeBox" (value) { this.getHeight(); if (this.VideoPhotoData.realSmallPath.length > 0) { @@ -367,10 +374,10 @@ if (this.VideoPhotoData.uploadType) { this.VideoPhotoData.findPersonByPage() } else { - - console.log('TreeDataPool.selectedNodes 鏌ヨes') - this.setLoadSearch(this.VideoPhotoData.querySearchList()); - + + console.log('TreeDataPool.selectedNodes 鏌ヨes') + this.setLoadSearch(this.VideoPhotoData.querySearchList()); + } } }, -- Gitblit v1.8.0