解决elementUI中el-table的合计不显示问题!! 在updated中写入> 前提table需要ref=“table” this.$nextTick(()=>{ this.$refs['table'].doLayout(); })