From 05f7edf85276d1dc41173dce5ede617db82c64f2 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu Date: Tue, 14 Mar 2023 21:13:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A6=81=E6=AD=A2=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E6=97=8B=E8=BD=AC=EF=BC=88=E6=97=8B=E8=BD=AC=E5=90=8E=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E5=BC=82=E5=B8=B8=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Editor/Canvas/Operate/CommonElementOperate.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Editor/Canvas/Operate/CommonElementOperate.vue b/src/views/Editor/Canvas/Operate/CommonElementOperate.vue index cbdd1dc8..fc288292 100644 --- a/src/views/Editor/Canvas/Operate/CommonElementOperate.vue +++ b/src/views/Editor/Canvas/Operate/CommonElementOperate.vue @@ -72,5 +72,5 @@ const scaleWidth = computed(() => props.elementInfo.width * canvasScale.value) const scaleHeight = computed(() => props.elementInfo.height * canvasScale.value) const { resizeHandlers, borderLines } = useCommonOperate(scaleWidth, scaleHeight) -const cannotRotate = computed(() => ['video', 'audio'].includes(props.elementInfo.type)) +const cannotRotate = computed(() => ['chart', 'video', 'audio'].includes(props.elementInfo.type)) \ No newline at end of file