From d4cd7df0bd1484c31e37bcb0642e89ecdcf7ab29 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期四, 17 九月 2020 10:55:22 +0800 Subject: [PATCH] 处理外网端口映射无法跳转的问题 --- src/pages/cameraAccess/index/App.vue | 32 ++++++++++++++++++++------------ 1 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/pages/cameraAccess/index/App.vue b/src/pages/cameraAccess/index/App.vue index c16940c..f6e5d1b 100644 --- a/src/pages/cameraAccess/index/App.vue +++ b/src/pages/cameraAccess/index/App.vue @@ -4,10 +4,10 @@ <div class="resize-bar"></div> <div class="resize-line"></div> <div class="resize-save"> - <left-nav :appName="app" :edit="editTree"></left-nav> + <left-nav :appName="app" :height="screenHeight"></left-nav> </div> </div> - <div class="column-right" > + <div class="column-right"> <right-side /> </div> </div> @@ -32,8 +32,7 @@ data() { return { leftWith: 0, - screenHeight: 0, - editTree: true + screenHeight: 0 } }, mounted() { @@ -43,8 +42,12 @@ this.screenHeight = document.documentElement.clientHeight; })(); }; - debugger - this.leftWith = this.$refs['left'].width; + + this.leftWith = this.$refs['left'].offsetWidth; + this.TreeDataPool.readonly = false; + this.TreeDataPool.gbReadonly = false; + this.DataStackPool.readonly = false; + }, methods: { getUrlKey() { @@ -57,23 +60,27 @@ <style lang="scss" scoped> .column { - //overflow: hidden; + overflow-y: hidden; display: flex; width: 100%; + height: 100%; } .column-left { - height: inherit; + height: 100%; + padding-bottom: 20px; + box-sizing: border-box; + // height: inherit; background-color: #fff; position: relative; } .column-right { - min-width: 1442px; - flex:1; position: relative; + flex: 1; background-color: #fff; box-sizing: border-box; - overflow: auto; - //height: 100%; + overflow-y: hidden; + height: 100%; + min-width: 1602px; } .resize-save { position: absolute; @@ -104,6 +111,7 @@ border-right: 2px solid #efefef; border-left: 1px solid #e0e0e0; pointer-events: none; + cursor: ew-resize; } .resize-bar:hover ~ .resize-line, .resize-bar:active ~ .resize-line { -- Gitblit v1.8.0