From 7f1bddd0561de67dd9c786cf67026e48c222d451 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 29 Oct 2026 17:12:45 +0800 Subject: [PATCH] fix: correct function invocation in onMounted and update SSL context handling --- .../models_provider/impl/xf_model_provider/xf_model_provider.py | 2 +- ui/src/views/system/settings/authentication/components/CAS.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/models_provider/impl/xf_model_provider/xf_model_provider.py b/apps/models_provider/impl/xf_model_provider/xf_model_provider.py index 46eaea200d9..45c0f84238c 100644 --- a/apps/models_provider/impl/xf_model_provider/xf_model_provider.py +++ b/apps/models_provider/impl/xf_model_provider/xf_model_provider.py @@ -39,7 +39,7 @@ from models_provider.impl.xf_model_provider.model.zh_en_stt import XFZhEnSparkSpeechToText -ssl._create_default_https_context = ssl.create_default_context() +ssl._create_default_https_context = ssl.create_default_context xunfei_model_credential = XunFeiLLMModelCredential() stt_model_credential = XunFeiSTTModelCredential() diff --git a/ui/src/views/system/settings/authentication/components/CAS.vue b/ui/src/views/system/settings/authentication/components/CAS.vue index 78aa5c004b5..61136d805ec 100644 --- a/ui/src/views/system/settings/authentication/components/CAS.vue +++ b/ui/src/views/system/settings/authentication/components/CAS.vue @@ -55,7 +55,7 @@ function submit() { }) } -onMounted(() => loadSetting) +onMounted(() => loadSetting())