赋能按钮列表错乱修改

This commit is contained in:
unknown 2022-11-03 10:03:46 +08:00
parent 92c6bf687b
commit c53f72be5e
1 changed files with 6 additions and 2 deletions

View File

@ -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 () {