fix: 部分 el-table 增加 empty-text 属性 防止 no data和loading同时出现
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
.single-value__content {
|
.single-value__content {
|
||||||
margin: 10px 0 12px 0;
|
margin: 10px 0 12px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
.single-value__content-number {
|
.single-value__content-number {
|
||||||
font-family: Helvetica-Bold;
|
font-family: Helvetica-Bold;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
width="100%"
|
width="100%"
|
||||||
@selection-change="handleDetailSelectionChange"
|
@selection-change="handleDetailSelectionChange"
|
||||||
:row-class-name="rowClassName"
|
:row-class-name="rowClassName"
|
||||||
|
empty-text=" "
|
||||||
ref="tb">
|
ref="tb">
|
||||||
|
|
||||||
<el-table-column type="selection" align="center" label="" width="30px" style="border-left:0px;" />
|
<el-table-column type="selection" align="center" label="" width="30px" style="border-left:0px;" />
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
:height="height"
|
:height="height"
|
||||||
|
empty-text=" "
|
||||||
border
|
border
|
||||||
@header-dragend="dragend"
|
@header-dragend="dragend"
|
||||||
@sort-change="tableDataSort"
|
@sort-change="tableDataSort"
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
:data="tableData"
|
:data="tableData"
|
||||||
:height="height"
|
:height="height"
|
||||||
:expand-row-keys="expandedIds"
|
:expand-row-keys="expandedIds"
|
||||||
|
empty-text=" "
|
||||||
row-key="id"
|
row-key="id"
|
||||||
border
|
border
|
||||||
tooltip-effect="light"
|
tooltip-effect="light"
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
:height="height"
|
:height="height"
|
||||||
|
empty-text=" "
|
||||||
border
|
border
|
||||||
@header-dragend="dragend"
|
@header-dragend="dragend"
|
||||||
@sort-change="tableDataSort"
|
@sort-change="tableDataSort"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
:data="tableData"
|
:data="tableData"
|
||||||
style="width: 70%;"
|
style="width: 70%;"
|
||||||
tooltip-effect="light"
|
tooltip-effect="light"
|
||||||
|
empty-text=" "
|
||||||
border="none"
|
border="none"
|
||||||
:size="'mini'"
|
:size="'mini'"
|
||||||
:height="'100%'">
|
:height="'100%'">
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
:ref="`dataTable_${index}`"
|
:ref="`dataTable_${index}`"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
class="npm-recent-table"
|
class="npm-recent-table"
|
||||||
|
empty-text=" "
|
||||||
height="100%"
|
height="100%"
|
||||||
>
|
>
|
||||||
<template v-for="(item, index) in customTableTitles" :key="index">
|
<template v-for="(item, index) in customTableTitles" :key="index">
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
:row-style="rowStyle"
|
:row-style="rowStyle"
|
||||||
:cell-style="{'text-align':'left','padding': '1px 0','border':'0px'}"
|
:cell-style="{'text-align':'left','padding': '1px 0','border':'0px'}"
|
||||||
class="customer-no-border-table"
|
class="customer-no-border-table"
|
||||||
|
empty-text=" "
|
||||||
style="width: 100%; height: 300px;"
|
style="width: 100%; height: 300px;"
|
||||||
@row-click="filter"
|
@row-click="filter"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user