refactor: 替换部分v-show为v-if
This commit is contained in:
parent
a5a0ba99df
commit
cc2d3784bb
|
@ -9,7 +9,7 @@
|
||||||
element-loading-background="#FFFFFF"
|
element-loading-background="#FFFFFF"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-show="loadError"
|
v-if="loadError"
|
||||||
style="
|
style="
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 300px;
|
height: 300px;
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
$t("home.dashboard.public.load_error")
|
$t("home.dashboard.public.load_error")
|
||||||
}}</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-show="!loadError">
|
<div v-if="!loadError">
|
||||||
<el-table
|
<el-table
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
class="adjust-table table-content"
|
class="adjust-table table-content"
|
||||||
|
|
Loading…
Reference in New Issue