diff --git a/backend/app/scripts/data/system_menu.json b/backend/app/scripts/data/system_menu.json
index 18d3b5f6..939820bd 100644
--- a/backend/app/scripts/data/system_menu.json
+++ b/backend/app/scripts/data/system_menu.json
@@ -838,9 +838,9 @@
"icon": "setting",
"order": 8,
"permission": "system:param:query",
- "route_name": "Config",
- "route_path": "/system/config",
- "component_path": "system/config/index",
+ "route_name": "Params",
+ "route_path": "/system/param",
+ "component_path": "system/param/index",
"status": true,
"keep_alive": true,
"hidden": false,
diff --git a/frontend/src/views/application/ai/index.vue b/frontend/src/views/application/ai/index.vue
index 511afa33..9f77eab6 100644
--- a/frontend/src/views/application/ai/index.vue
+++ b/frontend/src/views/application/ai/index.vue
@@ -16,23 +16,8 @@
{{ connectionStatusText }}
-
-
- 清空对话
-
-
-
- {{ isConnected ? '断开连接' : '重新连接' }}
-
+ 清空对话
+ {{ isConnected ? '断开连接' : '重新连接' }}
@@ -100,12 +85,8 @@
-
-
-
-
-
-
+
+
@@ -324,7 +305,7 @@ const sendMessage = async () => {
// 发送消息到 WebSocket
if (ws?.readyState === WebSocket.OPEN) {
const payload = {
- message: message,
+ message,
timestamp: Date.now()
}
ws.send(JSON.stringify(payload))
@@ -405,26 +386,6 @@ const scrollToBottom = () => {
})
}
-// 格式化时间
-const formatTime = (timestamp: number) => {
- const date = new Date(timestamp)
- const now = new Date()
-
- if (date.toDateString() === now.toDateString()) {
- return date.toLocaleTimeString('zh-CN', {
- hour: '2-digit',
- minute: '2-digit'
- })
- } else {
- return date.toLocaleString('zh-CN', {
- month: '2-digit',
- day: '2-digit',
- hour: '2-digit',
- minute: '2-digit'
- })
- }
-}
-
// 格式化消息内容
const formatMessage = (content: string) => {
if (!content) return ''
diff --git a/frontend/src/views/application/job/index.vue b/frontend/src/views/application/job/index.vue
index 79a954ed..b89d5c23 100644
--- a/frontend/src/views/application/job/index.vue
+++ b/frontend/src/views/application/job/index.vue
@@ -570,15 +570,8 @@
diff --git a/frontend/src/views/current/profile.vue b/frontend/src/views/current/profile.vue
index 6a085e0f..3ef21ec6 100644
--- a/frontend/src/views/current/profile.vue
+++ b/frontend/src/views/current/profile.vue
@@ -24,8 +24,8 @@
-
+
@@ -145,7 +145,7 @@
- 保存更改
+ 保存更改
@@ -185,7 +185,7 @@
- 更新密码
+ 更新密码
@@ -198,12 +198,12 @@