fix: 部分 el-table 增加 empty-text 属性 防止 no data和loading同时出现
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;" />
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
ref="dataTable"
|
||||
:data="tableData"
|
||||
:height="height"
|
||||
empty-text=" "
|
||||
border
|
||||
@header-dragend="dragend"
|
||||
@sort-change="tableDataSort"
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
:data="tableData"
|
||||
:height="height"
|
||||
:expand-row-keys="expandedIds"
|
||||
empty-text=" "
|
||||
row-key="id"
|
||||
border
|
||||
tooltip-effect="light"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
ref="dataTable"
|
||||
:data="tableData"
|
||||
:height="height"
|
||||
empty-text=" "
|
||||
border
|
||||
@header-dragend="dragend"
|
||||
@sort-change="tableDataSort"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
:data="tableData"
|
||||
style="width: 70%;"
|
||||
tooltip-effect="light"
|
||||
empty-text=" "
|
||||
border="none"
|
||||
:size="'mini'"
|
||||
:height="'100%'">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user