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

@@ -24,6 +24,7 @@
.single-value__content {
margin: 10px 0 12px 0;
display: flex;
align-items: center;
.single-value__content-number {
font-family: Helvetica-Bold;
font-size: 24px;

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"

View File

@@ -6,6 +6,7 @@
:data="tableData"
style="width: 70%;"
tooltip-effect="light"
empty-text=" "
border="none"
:size="'mini'"
:height="'100%'">

View File

@@ -6,6 +6,7 @@
:ref="`dataTable_${index}`"
:data="tableData"
class="npm-recent-table"
empty-text=" "
height="100%"
>
<template v-for="(item, index) in customTableTitles" :key="index">

View File

@@ -17,6 +17,7 @@
:row-style="rowStyle"
:cell-style="{'text-align':'left','padding': '1px 0','border':'0px'}"
class="customer-no-border-table"
empty-text=" "
style="width: 100%; height: 300px;"
@row-click="filter"
>