<component v-if="hackReset"></component>(组件名称)
data:hackReset
(事件执行)
this.hackReset = false
this.$nextTick(() => {
this.hackReset = true
})
<component v-if="hackReset"></component>(组件名称)
data:hackReset
(事件执行)
转载于:https://www.cnblogs.com/ouyang2014/p/10405308.html