Update scratchpad.vue

This commit is contained in:
syuilo 2023-01-05 17:30:21 +09:00
parent 8df7530b54
commit 29f6f5fa5c

View File

@ -6,7 +6,7 @@
<MkButton style="position: absolute; top: 8px; right: 8px;" primary @click="run()"><i class="ti ti-player-play"></i></MkButton> <MkButton style="position: absolute; top: 8px; right: 8px;" primary @click="run()"><i class="ti ti-player-play"></i></MkButton>
</div> </div>
<MkContainer v-if="root && components.length > 0" :key="uiKey" :foldable="true"> <MkContainer v-if="root && components.length > 1" :key="uiKey" :foldable="true">
<template #header>UI</template> <template #header>UI</template>
<div :class="$style.ui"> <div :class="$style.ui">
<MkAsUi :component="root" :components="components" size="small"/> <MkAsUi :component="root" :components="components" size="small"/>