disable image cropper for build production.
This commit is contained in:
parent
be90244a87
commit
74e556e300
|
@ -1205,7 +1205,7 @@
|
|||
:class="{ 'hide-preview': hasImage }"
|
||||
>
|
||||
<client-only>
|
||||
<ImageCropper
|
||||
<!-- <ImageCropper
|
||||
ref="file-uploader"
|
||||
:preview="true"
|
||||
:debug="1"
|
||||
|
@ -1238,12 +1238,9 @@
|
|||
class="tavasi"
|
||||
:class="`tavasi-${getFileExtension(form.avatar)}-file`"
|
||||
></span>
|
||||
|
||||
<!-- replace image src with incoming src -->
|
||||
|
||||
<span v-else class="tavasi tavasi-cloud-upload"></span>
|
||||
</label>
|
||||
</ImageCropper>
|
||||
</ImageCropper> -->
|
||||
</client-only>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2514,9 +2511,9 @@ export default {
|
|||
// #endregion
|
||||
},
|
||||
components: {
|
||||
ImageCropper: defineAsyncComponent(() =>
|
||||
import("@components/other/ImageCropper.vue")
|
||||
),
|
||||
// ImageCropper: defineAsyncComponent(() =>
|
||||
// import("@components/other/ImageCropper.vue")
|
||||
// ),
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue
Block a user