beforeUpdate(){
this.$nextTick(() => { //在数据加载完,重新渲染表格
this.$refs.table.doLayout();
})
}
Use the vue life cycle to re-render the table after the data loading is complete, and the ui display will be more stable
beforeUpdate(){
this.$nextTick(() => { //在数据加载完,重新渲染表格
this.$refs.table.doLayout();
})
}
Use the vue life cycle to re-render the table after the data loading is complete, and the ui display will be more stable