Commit 1be0bc73 by Jaxon

fix(绩效方案): 修复表格操作列删除按钮的层级和样式问题

修复固定列被操作列按钮遮挡的问题,通过提升固定列 z-index 确保按钮可点击。同时将操作列按钮包裹在 div 中,避免潜在的样式冲突。
1 parent d77fef37
......@@ -2,6 +2,9 @@
width: 100%;
margin-bottom: 20px !important;
::v-deep .el-table {
.el-table__fixed-right {
z-index: 101;
}
.el-form-item__error {
display: none;
}
......
......@@ -110,11 +110,14 @@
label="操作"
width="68px">
<template #default="{ $index }">
<el-button v-if="$index !== 0"
type="text"
@click="handleRemoveTableRow($index)">
删除
</el-button>
<div>
<el-button v-if="$index !== 0"
type="text"
@click="handleRemoveTableRow($index)">
删除
</el-button>
</div>
</template>
</el-table-column>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!