Browse Source

超出隐藏

tangning 3 years ago
parent
commit
53a063c80d
1 changed files with 5 additions and 0 deletions
  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>