操作列透明度设置为不透明,否则底层显示跟操作列冲突
This commit is contained in:
@@ -120,7 +120,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="bz" label="备注" min-width="120" align="left" header-align="center" show-overflow-tooltip />
|
||||
<el-table-column label="操作" width="310" align="center" fixed="right">
|
||||
<el-table-column label="操作" width="310" align="center" fixed="right" class-name="table-action-column">
|
||||
<template slot-scope="{ row }">
|
||||
<el-button type="text" size="small" @click="handleEdit(row)">编辑</el-button>
|
||||
<el-button type="text" size="small" @click="handleEditEventCalendar(row)">班历</el-button>
|
||||
@@ -533,6 +533,10 @@ export default {
|
||||
this.tableData = data.records || []
|
||||
this.total = data.total || 0
|
||||
this.loading = false
|
||||
// fixed 克隆层在异步数据回填后需要重排,否则行位置与主表错位会透出下层文字
|
||||
this.$nextTick(() => {
|
||||
this.$refs.tableRef && this.$refs.tableRef.doLayout()
|
||||
})
|
||||
}).catch(() => {
|
||||
this.tableData = []
|
||||
this.total = 0
|
||||
|
||||
Reference in New Issue
Block a user