refactor: 替换部分v-show为v-if

This commit is contained in:
CaptainB 2023-12-25 23:12:27 +08:00
parent a5a0ba99df
commit cc2d3784bb
1 changed files with 2 additions and 2 deletions

View File

@ -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"