摘要: 一:v-if控制组件,先设false,再true强制刷新组件(有时会产生一种奇怪的效果) 1 <medical-record v-if="fresh" /> 2 3 this.fresh = false 4 this.$nextTick(() => { 5 this.fresh = true 6 } 阅读全文
posted @ 2020-04-13 23:15 顺· 阅读(941) 评论(0) 推荐(0) 编辑