fix(vc-image): remove repeat listener (#6945)

pull/6953/head
Konv Suu 1 year ago committed by GitHub
parent 2f7f0e6928
commit 3c5fb84542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,

Loading…
Cancel
Save