Skip to content

Commit 0b4ffb8

Browse files
committed
fix: chat navbar
1 parent 9704769 commit 0b4ffb8

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

document/content/docs/upgrading/4-12/4122.mdx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ description: 'FastGPT V4.12.2 更新说明'
2424

2525
1. 独立对话页部分 UI 异常。
2626
2. 独立对话页无法渲染插件交互。
27-
3. 多选选择器导致的页面崩溃。
28-
4. 移动端,分享链接,异常加载了登录态对话页的导航。
29-
5. 用户同步可能出现写冲突问题。
30-
6. 无法完全关闭系统套餐,会存在空对象默认值,导致鉴权异常。
31-
7. 工作流,添加团队应用,搜索无效。
32-
8. 应用版本,ref 字段错误,导致无法正常使用。
27+
3. 独立对话页,使用二级路由时,默认地址错误。
28+
4. 多选选择器导致的页面崩溃。
29+
5. 移动端,分享链接,异常加载了登录态对话页的导航。
30+
6. 用户同步可能出现写冲突问题。
31+
7. 无法完全关闭系统套餐,会存在空对象默认值,导致鉴权异常。
32+
8. 工作流,添加团队应用,搜索无效。
33+
9. 应用版本,ref 字段错误,导致无法正常使用。
3334

3435
## 🔨 工具更新
3536

document/data/doc-last-modified.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"document/content/docs/upgrading/4-11/4111.mdx": "2025-08-07T22:49:09+08:00",
105105
"document/content/docs/upgrading/4-12/4120.mdx": "2025-08-12T22:45:19+08:00",
106106
"document/content/docs/upgrading/4-12/4121.mdx": "2025-08-15T22:53:06+08:00",
107-
"document/content/docs/upgrading/4-12/4122.mdx": "2025-08-25T19:19:43+08:00",
107+
"document/content/docs/upgrading/4-12/4122.mdx": "2025-08-26T14:35:39+08:00",
108108
"document/content/docs/upgrading/4-8/40.mdx": "2025-08-02T19:38:37+08:00",
109109
"document/content/docs/upgrading/4-8/41.mdx": "2025-08-02T19:38:37+08:00",
110110
"document/content/docs/upgrading/4-8/42.mdx": "2025-08-02T19:38:37+08:00",

projects/app/src/components/Layout/navbar.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import MyIcon from '@fastgpt/web/components/common/Icon';
1111
import { useTranslation } from 'next-i18next';
1212
import { useSystemStore } from '@/web/common/system/useSystemStore';
1313
import MyTooltip from '@fastgpt/web/components/common/MyTooltip';
14+
import { getWebReqUrl } from '@fastgpt/web/common/system/utils';
1415

1516
export enum NavbarTypeEnum {
1617
normal = 'normal',
@@ -147,7 +148,7 @@ const Navbar = ({ unread }: { unread: number }) => {
147148
? {
148149
onClick: () => {
149150
if (item.link.startsWith('/chat')) {
150-
window.open(item.link, '_blank', 'noopener,noreferrer');
151+
window.open(getWebReqUrl(item.link), '_blank', 'noopener,noreferrer');
151152
return;
152153
}
153154
router.push(item.link);

0 commit comments

Comments
 (0)