From 641a3940ed1dffddd4a31f87fce3e1072aa668c1 Mon Sep 17 00:00:00 2001 From: YunYouJun Date: Mon, 5 Feb 2024 01:24:24 +0800 Subject: [PATCH] refactor: extract button & add enter key watch --- components/AiPrompt.vue | 12 ++++++++++++ components/SfcButton.vue | 12 ++++++++++++ components/SpringFestivalCouplets.vue | 14 +++++++------- 3 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 components/SfcButton.vue diff --git a/components/AiPrompt.vue b/components/AiPrompt.vue index 09ffd4a..237244b 100644 --- a/components/AiPrompt.vue +++ b/components/AiPrompt.vue @@ -1,12 +1,17 @@