diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index e8f7874d..6c426e03 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -6,6 +6,7 @@ "AI Model Configuration": "AI Model Configuration" }, "common": { + "no_model_yet": "No model yet", "intelligent_questioning_platform": "Welcome to the SQLBot Intelligent Questioning Platform", "login": "Login", "login_": "Login", diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index fe160470..4396f2b3 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -6,6 +6,7 @@ "AI Model Configuration": "模型配置" }, "common": { + "no_model_yet": "暂无模型", "intelligent_questioning_platform": "欢迎使用 SQLBot 智能问数平台", "login": "账号登录", "login_": "登录", diff --git a/frontend/src/views/system/model/Model.vue b/frontend/src/views/system/model/Model.vue index fca417bc..0fc2a9e6 100644 --- a/frontend/src/views/system/model/Model.vue +++ b/frontend/src/views/system/model/Model.vue @@ -367,6 +367,22 @@ const submit = (item: any) => { + + + + + + + + + {{ t('model.add_model') }} + + + { .model-config { height: calc(100% - 16px); padding: 16px 0 16px 0; + + .datasource-yet { + padding-bottom: 0; + height: auto; + padding-top: 200px; + } .model-methods { display: flex; align-items: center;