vue中el-table 我需要为table表格每行设置阴影效果,使用box-shadow给行设置阴影为什么两边会出现这种情况?-灵析社区

MastFancy

是这个样式造成的 .el-table__body tr:hover { box-shadow: 0 0 1px 0 rgba(0,0,0,1); } 我用的红色: ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241012/64af18918c658036399836804097571a.png) 删除上面的CSS就行了: ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241012/e5411d7085a503e337a181b22814f0c7.png) 已经没了

阅读量:1

点赞量:0

问AI