赋能按钮列表错乱修改
This commit is contained in:
parent
92c6bf687b
commit
c53f72be5e
|
@ -42,10 +42,10 @@
|
|||
<el-table
|
||||
v-loading="dataListLoading"
|
||||
:data="dataList"
|
||||
ref="singleTable"
|
||||
border
|
||||
@selection-change="dataListSelectionChangeHandle"
|
||||
style="width: 100%"
|
||||
:height="qp ? '810px' : '650px'"
|
||||
>
|
||||
<el-table-column
|
||||
type="selection"
|
||||
|
@ -171,7 +171,11 @@ export default {
|
|||
},
|
||||
mounted () {
|
||||
window.addEventListener('resize', this.a)
|
||||
this.fullScreen()
|
||||
this.fullScreen();
|
||||
this.$nextTick(() => {
|
||||
this.$refs.singleTable.doLayout(); // 解决表格错位
|
||||
//:height="qp ? '810px' : '650px'"
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
reset () {
|
||||
|
|
Loading…
Reference in New Issue