原文鏈接:https://blog.csdn.net/hong521520/article/details/108620923
1. el-table中加上ref屬性
<el-table ref="table" size="mini" show-summary border> </el-table>
2.在updated生命周期函數
updated () { this.$nextTick(() => { this.$refs['table'].doLayout(); }) },
原文鏈接:https://blog.csdn.net/hong521520/article/details/108620923
1. el-table中加上ref屬性
<el-table ref="table" size="mini" show-summary border> </el-table>
2.在updated生命周期函數
updated () { this.$nextTick(() => { this.$refs['table'].doLayout(); }) },
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。