赋能按钮列表错乱修改

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