接口请求数据时,通过这个方法this.$nextTick(()=>{this.$refs.table.doLayout()//给table加一个ref=“桌子”})
关于elementUI的table设置固定样式混淆问题相关文章