diff --git a/frontend/src/assets/embedded/login_image.png b/frontend/src/assets/embedded/login_image.png new file mode 100644 index 00000000..5ce16c8f Binary files /dev/null and b/frontend/src/assets/embedded/login_image.png differ diff --git a/frontend/src/components/layout/Person.vue b/frontend/src/components/layout/Person.vue index 36921d19..6aeba52e 100644 --- a/frontend/src/components/layout/Person.vue +++ b/frontend/src/components/layout/Person.vue @@ -144,7 +144,7 @@ const logout = () => {
{{ $t('about.title') }}
-
+
diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index 9f8fd569..e8f7874d 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -6,6 +6,9 @@ "AI Model Configuration": "AI Model Configuration" }, "common": { + "intelligent_questioning_platform": "Welcome to the SQLBot Intelligent Questioning Platform", + "login": "Login", + "login_": "Login", "confirm2": "Confirm", "excessive_tables_selected": "Excessive tables selected", "to_continue_saving": "The number of selected tables is 67, exceeding {msg}. This may cause the operation to time out or become unresponsive. Do you want to continue saving?", @@ -556,4 +559,4 @@ "back_community": "Restore to Community Edition", "confirm_tips": "Are you sure to restore to Community Edition?" } -} +} \ No newline at end of file diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index 92d993d0..fe160470 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -6,6 +6,9 @@ "AI Model Configuration": "模型配置" }, "common": { + "intelligent_questioning_platform": "欢迎使用 SQLBot 智能问数平台", + "login": "账号登录", + "login_": "登录", "confirm2": "确定", "excessive_tables_selected": "选择数据表过量", "to_continue_saving": "选择的数据表数量为:{msg},已超出30,可能会导致操作超时或者无响应,是否继续保存?", @@ -556,4 +559,4 @@ "back_community": "还原至社区版", "confirm_tips": "确定还原至社区版?" } -} +} \ No newline at end of file diff --git a/frontend/src/views/chat/chat-block/ChartBlock.vue b/frontend/src/views/chat/chat-block/ChartBlock.vue index 13a6c8a6..05372099 100644 --- a/frontend/src/views/chat/chat-block/ChartBlock.vue +++ b/frontend/src/views/chat/chat-block/ChartBlock.vue @@ -227,7 +227,7 @@ function showSql() { function copy() { if (props.message?.record?.sql) { navigator.clipboard.writeText(props.message.record.sql) - ElMessage.info(t('qa.copied')) + ElMessage.success(t('embedded.copy_successful')) } } diff --git a/frontend/src/views/dashboard/canvas/ComponentBar.vue b/frontend/src/views/dashboard/canvas/ComponentBar.vue index f1cc1f84..30a88102 100644 --- a/frontend/src/views/dashboard/canvas/ComponentBar.vue +++ b/frontend/src/views/dashboard/canvas/ComponentBar.vue @@ -47,8 +47,8 @@ const doDeleteComponent = (e: MouseEvent) => {
diff --git a/frontend/src/views/login/index.vue b/frontend/src/views/login/index.vue index 242da5c4..147f99d7 100644 --- a/frontend/src/views/login/index.vue +++ b/frontend/src/views/login/index.vue @@ -1,12 +1,14 @@