fix: 部分 el-table 增加 empty-text 属性 防止 no data和loading同时出现

This commit is contained in:
@changcode
2022-09-08 16:22:36 +08:00
parent 66d5e134a8
commit bb2cf79f3f
8 changed files with 8 additions and 0 deletions

View File

@@ -42,6 +42,7 @@
width="100%"
@selection-change="handleDetailSelectionChange"
:row-class-name="rowClassName"
empty-text=" "
ref="tb">
<el-table-column type="selection" align="center" label="" width="30px" style="border-left:0px;" />

View File

@@ -4,6 +4,7 @@
ref="dataTable"
:data="tableData"
:height="height"
empty-text=" "
border
@header-dragend="dragend"
@sort-change="tableDataSort"

View File

@@ -5,6 +5,7 @@
:data="tableData"
:height="height"
:expand-row-keys="expandedIds"
empty-text=" "
row-key="id"
border
tooltip-effect="light"

View File

@@ -4,6 +4,7 @@
ref="dataTable"
:data="tableData"
:height="height"
empty-text=" "
border
@header-dragend="dragend"
@sort-change="tableDataSort"