使用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;
}
相关推荐
工业甲酰苯胺16 分钟前
实现 json path 来评估函数式解析器的损耗
java·前端·json
老前端的功夫16 分钟前
Web应用的永生之术:PWA落地与实践深度指南
java·开发语言·前端·javascript·css·node.js
LilySesy1 小时前
ABAP+WHERE字段长度不一致报错解决
java·前端·javascript·bug·sap·abap·alv
Wang's Blog2 小时前
前端FAQ: Vue 3 与 Vue 2 相⽐有哪些重要的改进?
前端·javascript·vue.js
再希2 小时前
React+Tailwind CSS+Shadcn UI
前端·react.js·ui
用户47949283569152 小时前
JavaScript 的 NaN !== NaN 之谜:从 CPU 指令到 IEEE 754 标准的完整解密
前端·javascript
群联云防护小杜2 小时前
国产化环境下 Web 应用如何满足等保 2.0?从 Nginx 配置到 AI 防护实战
运维·前端·nginx
ss2733 小时前
Springboot + vue 医院管理系统
vue.js·spring boot·后端
醉方休3 小时前
Web3.js 全面解析
前端·javascript·electron
前端开发爱好者3 小时前
前端新玩具:Vike 发布!
前端·javascript