From fa7044f3ccc9a91bc2bc117d1a06f650d86554f2 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期二, 15 六月 2021 16:07:16 +0800 Subject: [PATCH] 优化联动规则加载场景列表的操作 --- src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue index b2763e7..8645349 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue @@ -360,11 +360,11 @@ --> <!-- <div > --> + <!-- :modal="false" --> <el-dialog v-drag v-resize class="dialog-video" :visible="videoDialogVisible" - @close="videoDialogVisible = false" - :modal="false" + @close="closeDial" :close-on-click-modal="false" :destroy-on-close="true" :modal-append-to-body="false" @@ -375,7 +375,7 @@ <span>鎾斁瑙嗛</span> </div> </div> - <video-analyze :videoDetails="selectedVideo" /> + <video-analyze v-if="videoDialogVisible" :videoDetails="selectedVideo" /> </el-dialog> <!-- </div> --> @@ -516,6 +516,10 @@ } ); }, + closeDial(){ + this.videoDialogVisible = false + this.selectedVideo={} + }, handleTabSizeChange(size) { this.tabPageSize = size; this.filterSearchData(); -- Gitblit v1.8.0