Skip to content

Commit

Permalink
fix(vc-image): remove repeat listener (#6945)
Browse files Browse the repository at this point in the history
  • Loading branch information
kovsu committed Sep 15, 2023
1 parent 2f7f0e6 commit 3c5fb84
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions components/vc-image/src/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ const ImageInternal = defineComponent({
onChange: onPreviewVisibleChange,
});

watch(isShowPreview, (val, preVal) => {
onPreviewVisibleChange(val, preVal);
});
const status = ref<ImageStatus>(isCustomPlaceholder.value ? 'loading' : 'normal');
watch(
() => props.src,
Expand Down

0 comments on commit 3c5fb84

Please sign in to comment.