tomastong

Results comments of tomastong

之前一直用onLoad执行,只知道其它的不好使,文章写的很好豁然开朗~ > 页面的onLoad、onShow均在beforeMount之前被触发,实践时会发现,页面在数据更新之前就会被显示出来,旧的数据会在页面中“一闪而过”。

el-select组件的onchange方法,执行this.$forceUpdate(); 重新渲染实例就好了

mark,我也遇到到了