From 5d9f399112b3ecacc04415baf0ed67ce24997ea2 Mon Sep 17 00:00:00 2001 From: cc <94575594@qq.com> Date: Sat, 21 Mar 2026 16:27:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E5=8D=95=E8=AF=8D=E5=8A=A0=E8=BD=BD=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/SpellPractice.vue | 51 ++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/src/views/SpellPractice.vue b/src/views/SpellPractice.vue index 7d0a662..0502ffb 100644 --- a/src/views/SpellPractice.vue +++ b/src/views/SpellPractice.vue @@ -33,6 +33,19 @@ const wordList = computed(() => { .filter((w) => w.length > 0); }); +// 示例单词列表 +const exampleWords = [ + "apple", "banana", "orange", "grape", "strawberry", + "computer", "program", "keyboard", "screen", "mouse", + "book", "paper", "pencil", "school", "student", + "house", "window", "door", "table", "chair" +]; + +// 加载示例单词 +const loadExampleWords = () => { + wordInput.value = exampleWords.join("\n"); +}; + // 发音配置 const selectedVoice = ref("4"); const repeatCount = ref(2); @@ -385,7 +398,16 @@ onUnmounted(() => {