Skip to content

Commit 3c5fb84

Browse files
authored
fix(vc-image): remove repeat listener (#6945)
1 parent 2f7f0e6 commit 3c5fb84

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: components/vc-image/src/Image.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ const ImageInternal = defineComponent({
9797
onChange: onPreviewVisibleChange,
9898
});
9999

100-
watch(isShowPreview, (val, preVal) => {
101-
onPreviewVisibleChange(val, preVal);
102-
});
103100
const status = ref<ImageStatus>(isCustomPlaceholder.value ? 'loading' : 'normal');
104101
watch(
105102
() => props.src,

0 commit comments

Comments
 (0)