From 2a2c2c4bedd9328f0d7fad78e58e2ac74dface43 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期三, 09 九月 2020 19:26:00 +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