File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 33
33
empty-text =" "
34
34
@row-contextmenu =" showFileMenu"
35
35
:row-class-name =" tableRowClassName"
36
+ :class =" {'zfile-table-empty': fileDataStore.fileList.length === 0}"
36
37
@selection-change =" selectRowsChange"
37
38
:data =" skeletonLoading ? skeletonData : fileDataStore.fileList" >
38
39
<template #empty >
@@ -459,6 +460,10 @@ const showDialog = (readmeText) => {
459
460
// 隐藏横向滚动条
460
461
@apply overflow-y-hidden ;
461
462
463
+ & .zfile-table-empty {
464
+ @apply h-full ;
465
+ }
466
+
462
467
:deep (.el-checkbox ) {
463
468
margin-right : 30px ;
464
469
}
@@ -471,6 +476,10 @@ const showDialog = (readmeText) => {
471
476
font-weight : 450 ;
472
477
}
473
478
479
+ :deep(.el-table__body-wrapper .el-scrollbar__view ) {
480
+ height : 100% ;
481
+ }
482
+
474
483
/* 表头 -- icon 位置和大小 */
475
484
.el-table__header-wrapper .el-icon {
476
485
@apply mr-4 top-0 .5 text-sm ;
You can’t perform that action at this time.
0 commit comments