fix(vc-image): remove repeat listener (#6945)
parent
2f7f0e6928
commit
3c5fb84542
|
@ -97,9 +97,6 @@ const ImageInternal = defineComponent({
|
||||||
onChange: onPreviewVisibleChange,
|
onChange: onPreviewVisibleChange,
|
||||||
});
|
});
|
||||||
|
|
||||||
watch(isShowPreview, (val, preVal) => {
|
|
||||||
onPreviewVisibleChange(val, preVal);
|
|
||||||
});
|
|
||||||
const status = ref<ImageStatus>(isCustomPlaceholder.value ? 'loading' : 'normal');
|
const status = ref<ImageStatus>(isCustomPlaceholder.value ? 'loading' : 'normal');
|
||||||
watch(
|
watch(
|
||||||
() => props.src,
|
() => props.src,
|
||||||
|
|
Loading…
Reference in New Issue