[skip ci] perf(web): improve little performance

This commit is contained in:
Xwite
2023-05-14 14:03:55 +08:00
parent 624f993d34
commit 152dc4e3b8
7 changed files with 39 additions and 38 deletions

View File

@@ -6,10 +6,10 @@
:name="tab[0]"
:label="tab[1]"
>
<source-json v-if="index == 0" />
<source-debug v-if="index == 1" />
<source-list v-if="index == 2" />
<source-help v-if="index == 3" />
<source-json v-show="index == 0" />
<source-debug v-show="index == 1" />
<source-list v-show="index == 2" />
<source-help v-show="index == 3" />
</el-tab-pane>
</el-tabs>
</template>