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

This commit is contained in:
Konv Suu 2023-09-15 14:25:48 +08:00 committed by GitHub
parent 2f7f0e6928
commit 3c5fb84542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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