This commit is contained in:
2024-01-25 15:32:44 +08:00
parent 904fb164f9
commit cac5a0412b

View File

@@ -89,7 +89,7 @@ function reset() {
<VPButton :class="$style.run" @click="run" text="运行"></VPButton> <VPButton :class="$style.run" @click="run" text="运行"></VPButton>
<VPButton @click="reset" theme="alt" text="重置"></VPButton> <VPButton @click="reset" theme="alt" text="重置"></VPButton>
</div> </div>
<p v-if="output.length">运行结果</p> <p :class="$style.title" v-if="output.length">运行结果</p>
<pre :class="$style.output">{{ output }}</pre> <pre :class="$style.output">{{ output }}</pre>
</div> </div>
</ClientOnly> </ClientOnly>