Commit 1be0bc73 by Jaxon

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

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