Optimize: code

This commit is contained in:
Lazy 2023-10-31 16:30:41 +08:00
parent 798fb85ce9
commit 717c69e09d

View File

@ -163,7 +163,7 @@ onMounted(async () => {
</BetweenMenus>
</a-col>
<component :is="component[configName ?? '']" v-if="isReady" :config="configFile" />
<component :is="component[configName]" v-if="configName && isReady" :config="configFile" />
<a-col v-else :span="24">
<Loading />