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