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