This commit is contained in:
2024-06-27 05:50:16 +00:00
parent ce34d80179
commit db030b5869
14 changed files with 511 additions and 430 deletions

View File

@@ -30,6 +30,7 @@ function copy() {
<template #1>
<CodeEditor
label="代码区"
icon="streamline-emojis:lemon"
:font-size="size"
v-model="code.value"
:language="code.language"
@@ -48,7 +49,12 @@ function copy() {
:max="3 / 5"
>
<template #1>
<CodeEditor label="输入框" :font-size="size" v-model="input">
<CodeEditor
icon="streamline-emojis:four-leaf-clover"
label="输入框"
:font-size="size"
v-model="input"
>
<template #actions>
<n-button
quaternary
@@ -63,6 +69,7 @@ function copy() {
</template>
<template #2>
<CodeEditor
icon="streamline-emojis:hibiscus"
label="输出框"
v-model="output"
readonly