[skip ci] perf(web): improve little performance
This commit is contained in:
1 parent
1109d54779
commit
e173e3196d
7 files changed
+39
-38
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user