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/cameraAccess/index/App.vue | 2 +-
src/pages/search/index/Searching.vue | 15 +++++++++++----
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/src/pages/cameraAccess/index/App.vue b/src/pages/cameraAccess/index/App.vue
index d09a789..e843f32 100644
--- a/src/pages/cameraAccess/index/App.vue
+++ b/src/pages/cameraAccess/index/App.vue
@@ -61,7 +61,7 @@
<style lang="scss" scoped>
.column {
overflow: hidden;
- min-width: 1399px;
+ //min-width: 1399px;
//min-width: 1920px;
height: 100%;
}
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