ElementUI 表格操作列错位问题

636 阅读1分钟

问题截图

在使用vue进行前端开发时,使用element-ui框架,当表格最右侧使用 fixed="" 属性时

template:

	<el-table
          ref="multipleTable"
          :data="dataList">
    	</el-table>

js:

	this.$nextTick(() => {
            this.$refs.multipleTable.doLayout();
            // table加 ref="multipleTable"
          })