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