组件中添加 v-if="hackReset" 复制代码 this.hackReset = false this.$nextTick(() => { this.hackReset = true }) 复制代码