diff --git a/frontend/src/assets/svg/icon_admin_outlined.svg b/frontend/src/assets/svg/icon_admin_outlined.svg index 08447d7f..f74a759b 100644 --- a/frontend/src/assets/svg/icon_admin_outlined.svg +++ b/frontend/src/assets/svg/icon_admin_outlined.svg @@ -1,4 +1,4 @@ - - - + + + diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index b9a86a05..ce90511c 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -6,6 +6,9 @@ "AI Model Configuration": "AI Model Configuration" }, "common": { + "zoom_in": "Zoom in", + "zoom_out": "Zoom out", + "the_default_model": "Already the default model", "as_default_model": "Set as Default Model", "no_model_yet": "No model yet", "intelligent_questioning_platform": "Welcome to the SQLBot Intelligent Questioning Platform", diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index 100aa514..8235df5c 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -6,6 +6,9 @@ "AI Model Configuration": "模型配置" }, "common": { + "zoom_in": "放大", + "zoom_out": "缩小", + "the_default_model": "已是默认模型", "as_default_model": "设为默认模型", "no_model_yet": "暂无模型", "intelligent_questioning_platform": "欢迎使用 SQLBot 智能问数平台", @@ -567,7 +570,7 @@ "license": { "error_tips": "是否刷新页面?", "offline_tips": "服务已经下线,请联系管理员重启服务!" - }, + }, "system": { "system_settings": "系统设置", "appearance_settings": "外观设置", @@ -599,4 +602,4 @@ "setting_successfully": "设置成功", "customize_theme_color": "自定义主题色" } -} +} \ No newline at end of file diff --git a/frontend/src/views/system/embedded/index.vue b/frontend/src/views/system/embedded/index.vue index 2fb0f13a..9e36821b 100644 --- a/frontend/src/views/system/embedded/index.vue +++ b/frontend/src/views/system/embedded/index.vue @@ -617,13 +617,11 @@ const saveHandler = () => { class="form-content_error" @submit.prevent > - + import delIcon from '@/assets/svg/icon_delete.svg' -import icon_embedded_outlined from '@/assets/svg/icon-setting.svg' +import icon_admin_outlined from '@/assets/svg/icon_admin_outlined.svg' import edit from '@/assets/svg/icon_edit_outlined.svg' import { get_supplier } from '@/entity/supplier' import { computed, ref } from 'vue' @@ -76,9 +76,23 @@ defineExpose({ showErrorMask }) {{ baseModel }}
- + + + + + + {{ $t('common.as_default_model') }} + + + + - + {{ $t('common.as_default_model') }}