From 3c5fb845428ddaa587e539e5dfbdb815a61b8dca Mon Sep 17 00:00:00 2001 From: Konv Suu <2583695112@qq.com> Date: Fri, 15 Sep 2023 14:25:48 +0800 Subject: [PATCH] fix(vc-image): remove repeat listener (#6945) --- components/vc-image/src/Image.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/vc-image/src/Image.tsx b/components/vc-image/src/Image.tsx index c835c840e..5c68b8769 100644 --- a/components/vc-image/src/Image.tsx +++ b/components/vc-image/src/Image.tsx @@ -97,9 +97,6 @@ const ImageInternal = defineComponent({ onChange: onPreviewVisibleChange, }); - watch(isShowPreview, (val, preVal) => { - onPreviewVisibleChange(val, preVal); - }); const status = ref(isCustomPlaceholder.value ? 'loading' : 'normal'); watch( () => props.src,