From a8a04d3993086e467215f199a6b843f609227504 Mon Sep 17 00:00:00 2001 From: inottn Date: Sun, 21 May 2023 21:48:54 +0800 Subject: [PATCH] chore(ImagePreview): remove unused state (#11889) --- packages/vant/src/image-preview/ImagePreviewItem.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/vant/src/image-preview/ImagePreviewItem.tsx b/packages/vant/src/image-preview/ImagePreviewItem.tsx index 35cd99038..2fb405374 100644 --- a/packages/vant/src/image-preview/ImagePreviewItem.tsx +++ b/packages/vant/src/image-preview/ImagePreviewItem.tsx @@ -64,8 +64,6 @@ export default defineComponent({ moving: false, zooming: false, imageRatio: 0, - displayWidth: 0, - displayHeight: 0, }); const touch = useTouch();