Skip to content

Commit 425a8ce

Browse files
committed
fix: defer the src assign to onCropperMounted hook to ensure consistency
1 parent 7c43c2f commit 425a8ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ModernCropper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ defineExpose(reactive({
180180

181181
<template>
182182
<div class="modern-cropper__wrapper">
183-
<img v-bind="{ id, src, crossorigin }">
183+
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" v-bind="{ id, crossorigin }">
184184
</div>
185185
</template>
186186

0 commit comments

Comments
 (0)