mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-15 07:31:19 +00:00
fix: chat navbar (#5537)
This commit is contained in:
@@ -24,12 +24,13 @@ description: 'FastGPT V4.12.2 更新说明'
|
||||
|
||||
1. 独立对话页部分 UI 异常。
|
||||
2. 独立对话页无法渲染插件交互。
|
||||
3. 多选选择器导致的页面崩溃。
|
||||
4. 移动端,分享链接,异常加载了登录态对话页的导航。
|
||||
5. 用户同步可能出现写冲突问题。
|
||||
6. 无法完全关闭系统套餐,会存在空对象默认值,导致鉴权异常。
|
||||
7. 工作流,添加团队应用,搜索无效。
|
||||
8. 应用版本,ref 字段错误,导致无法正常使用。
|
||||
3. 独立对话页,使用二级路由时,默认地址错误。
|
||||
4. 多选选择器导致的页面崩溃。
|
||||
5. 移动端,分享链接,异常加载了登录态对话页的导航。
|
||||
6. 用户同步可能出现写冲突问题。
|
||||
7. 无法完全关闭系统套餐,会存在空对象默认值,导致鉴权异常。
|
||||
8. 工作流,添加团队应用,搜索无效。
|
||||
9. 应用版本,ref 字段错误,导致无法正常使用。
|
||||
|
||||
## 🔨 工具更新
|
||||
|
||||
|
@@ -104,7 +104,7 @@
|
||||
"document/content/docs/upgrading/4-11/4111.mdx": "2025-08-07T22:49:09+08:00",
|
||||
"document/content/docs/upgrading/4-12/4120.mdx": "2025-08-12T22:45:19+08:00",
|
||||
"document/content/docs/upgrading/4-12/4121.mdx": "2025-08-15T22:53:06+08:00",
|
||||
"document/content/docs/upgrading/4-12/4122.mdx": "2025-08-25T19:19:43+08:00",
|
||||
"document/content/docs/upgrading/4-12/4122.mdx": "2025-08-26T14:35:39+08:00",
|
||||
"document/content/docs/upgrading/4-8/40.mdx": "2025-08-02T19:38:37+08:00",
|
||||
"document/content/docs/upgrading/4-8/41.mdx": "2025-08-02T19:38:37+08:00",
|
||||
"document/content/docs/upgrading/4-8/42.mdx": "2025-08-02T19:38:37+08:00",
|
||||
|
@@ -11,6 +11,7 @@ import MyIcon from '@fastgpt/web/components/common/Icon';
|
||||
import { useTranslation } from 'next-i18next';
|
||||
import { useSystemStore } from '@/web/common/system/useSystemStore';
|
||||
import MyTooltip from '@fastgpt/web/components/common/MyTooltip';
|
||||
import { getWebReqUrl } from '@fastgpt/web/common/system/utils';
|
||||
|
||||
export enum NavbarTypeEnum {
|
||||
normal = 'normal',
|
||||
@@ -147,7 +148,7 @@ const Navbar = ({ unread }: { unread: number }) => {
|
||||
? {
|
||||
onClick: () => {
|
||||
if (item.link.startsWith('/chat')) {
|
||||
window.open(item.link, '_blank', 'noopener,noreferrer');
|
||||
window.open(getWebReqUrl(item.link), '_blank', 'noopener,noreferrer');
|
||||
return;
|
||||
}
|
||||
router.push(item.link);
|
||||
|
Reference in New Issue
Block a user