fix: 修复图片裁剪组件问题

This commit is contained in:
xiaoxian521 2021-09-21 02:36:40 +08:00
parent 75afd44e7a
commit fe2cf22e23

View File

@ -1,7 +1,7 @@
import type { CSSProperties } from "vue";
import {
defineComponent,
onBeforeMount,
onMounted,
nextTick,
ref,
unref,
@ -113,7 +113,7 @@ export default defineComponent({
});
}
onBeforeMount(() => {
onMounted(() => {
nextTick(() => {
init();
});