zs 6 months ago
parent
commit
124a2a30ad
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/components/custom/custom-table.vue

+ 3 - 0
src/components/custom/custom-table.vue

@@ -118,4 +118,7 @@ const changePage = (page = currentPage.value) => {
 .page {
   margin: 10px 0 0 0;
 }
+:deep(.el-table .el-table__body td .cell:empty::before) {
+  content: '---';
+}
 </style>