使用elementplus的table表格遇到的问题

使用表格时在el-table-column上加fixed时导致下边框消失的问题

1、例如:
javascript 复制代码
<el-table-column width="60" header-align="center" align="center" label="序号" fixed>
  <template #default="scope">
    <span :style="{ color: scope.row.isComplete ? '' : '#606266' }">
      {{
    scope.$index + 1
  }}</span>
  </template>
 </el-table-column>
 <el-table-column prop="name" label="辖区" min-width="100" align="center" fixed>
  <template #default="scope">
    <span :style="{ color: scope.row.isComplete ? '' : '#606266' }">
      {{ scope.row.name }}</span>
  </template>
</el-table-column>
<el-table-column label="操作" align="center" min-width="120" fixed="right">
        
</el-table-column>
2、加上fixed后导致下边框消失
3、解决方案
javascript 复制代码
:deep(.el-table-fixed-column--left), :deep(.el-table-fixed-column--right) {
  left: auto !important;
  right: auto !important;
}
相关推荐
用户6000718191033 分钟前
【翻译】简化 TSRX
前端
IT乐手1 小时前
佛德角逼平西班牙,国足还有啥借口?
前端
JustHappy2 小时前
我汇总了身边朋友的经历才发现,其实第一份实习是最难找的......
前端·后端·面试
星栈2 小时前
Dioxus 的响应式系统:`Signal`、`Memo`、`Effect` 和异步状态到底该怎么分工
前端·前端框架
yingyima2 小时前
Java 正则表达式:比你想象的更强大
前端
yuanyxh5 小时前
macOS 应用 - 纯对话生成
前端·macos·ai编程
大家的林语冰5 小时前
ES5 凉凉,Babel 8 正式发布,默认不再编译为 ES5 和 CJS......
前端·javascript·前端工程化
光影少年6 小时前
react批量更新、同步/异步更新场景
前端·react.js·掘金·金石计划
假如让我当三天老蒯7 小时前
模块化:ES Module 与 CommonJS 的区别
前端·面试
用户40950115773177 小时前
Private Forge v2.0 发布:12大前端业务场景技能系统
前端