父组件代码:
data(){
return {
hackReset = true,
}
}
<temFontEditor v-if="hackReset" ref="temFontEditor" :json="fontEditorJson" :fontEditorWidth="fontEditorWidth" :fontEditorHeight="fontEditorHeight" :bgImgUrl="childViewBgImg"></temFontEditor>