From 82c181103474b6d44efa63015099d675ef56c583 Mon Sep 17 00:00:00 2001 From: Rafi Date: Thu, 6 Apr 2023 15:08:35 +0800 Subject: [PATCH] Fix the issue of updating the number to a string type when clicking the plus or minus button in the input box when setting the model parameters. --- components/Conversation.vue | 4 ++++ ...ameters.vue => ModelParameters.client.vue} | 24 ++++++++++++------- lang/en-US.json | 2 ++ lang/ru-RU.json | 2 ++ lang/zh-CN.json | 2 ++ 5 files changed, 25 insertions(+), 9 deletions(-) rename components/{ModelParameters.vue => ModelParameters.client.vue} (88%) diff --git a/components/Conversation.vue b/components/Conversation.vue index 99140e4..5254afb 100644 --- a/components/Conversation.vue +++ b/components/Conversation.vue @@ -180,6 +180,10 @@ watchEffect(() => { } }) +onNuxtReady(() => { + currentModel.value = getCurrentModel() +}) +