diff --git a/src/components/Preview/src/Functional.vue b/src/components/Preview/src/Functional.vue index 1c9192978..0abdb3c36 100644 --- a/src/components/Preview/src/Functional.vue +++ b/src/components/Preview/src/Functional.vue @@ -143,6 +143,9 @@ function scaleFunc(num: number) { if (imgState.imgScale <= 0.2 && num < 0) return; imgState.imgScale += num; + if (imgState.imgScale <= 0) { + imgState.imgScale = 0.2; + } } // 旋转图片