From 19c4815aeb69fc06f6f33e5b013e5c459101d1f0 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期四, 03 十二月 2020 18:07:21 +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