From d4cd7df0bd1484c31e37bcb0642e89ecdcf7ab29 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期四, 17 九月 2020 10:55:22 +0800 Subject: [PATCH] 处理外网端口映射无法跳转的问题 --- src/components/canvas/index.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/components/canvas/index.vue b/src/components/canvas/index.vue index fc937e1..ea4715e 100644 --- a/src/components/canvas/index.vue +++ b/src/components/canvas/index.vue @@ -103,7 +103,7 @@ ctx: null, visible: false, baseImg: undefined, - showProportion: 1.71 + showProportion: 1.666 }; }, watch: { @@ -473,6 +473,11 @@ }; </script> <style lang="scss" scoped> +canvas{ + position: absolute; + top: 0; + left: 0; +} .s-cavas { width: 576px; height: 324px; -- Gitblit v1.8.0