소스 검색

超出隐藏

tangning 3 년 전
부모
커밋
53a063c80d
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/view/user/index.vue

+ 5 - 0
src/view/user/index.vue

@@ -472,4 +472,9 @@ export default {
 .user-table.el-table .cell {
   overflow: inherit;
 }
+.user-table.el-table th, .el-table td{
+    overflow: hidden;
+    text-overflow: ellipsis;
+    white-space: nowrap;
+}
 </style>