From c7fb9483004b6c458652ba678ea5e891b5acb85e Mon Sep 17 00:00:00 2001
From: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
Date: Wed, 10 Dec 2025 13:24:24 +0800
Subject: [PATCH] fix: some bugs (#6071)
* fix: publish channel doc link
* fix: checkbox disable hover style
* fix: huggingface.svg missing; update doc
* chore: update doc
* fix: typo
---
document/README.md | 4 ++--
document/content/docs/faq/error.mdx | 2 +-
.../guide/team_permissions/customDomain.mdx | 6 +++---
document/content/docs/upgrading/4-14/4144.mdx | 4 ++++
.../docs/use-cases/app-cases/lab_appointment.mdx | 2 +-
.../docs/use-cases/external-integration/wecom.mdx | 6 +++---
document/data/doc-last-modified.json | 10 +++++-----
packages/web/styles/theme.ts | 11 ++++++++++-
projects/app/public/imgs/modal/huggingface.svg | 15 +++++++++++++++
.../detail/Publish/DingTalk/DingTalkEditModal.tsx | 5 +----
.../app/detail/Publish/DingTalk/index.tsx | 5 +----
.../app/detail/Publish/FeiShu/FeiShuEditModal.tsx | 5 +----
.../app/detail/Publish/FeiShu/index.tsx | 5 +----
.../Publish/OffiAccount/OffiAccountEditModal.tsx | 5 +----
.../app/detail/Publish/OffiAccount/index.tsx | 5 +----
15 files changed, 50 insertions(+), 40 deletions(-)
create mode 100644 projects/app/public/imgs/modal/huggingface.svg
diff --git a/document/README.md b/document/README.md
index dfc05e4eb..648611369 100644
--- a/document/README.md
+++ b/document/README.md
@@ -1,6 +1,6 @@
# FastGPT 文档
-这是FastGPT的官方文档,采用fumadoc框架。
+这是FastGPT的官方文档,采用 fumadoc 框架。
## 运行项目
要运行文档,首先需要进行环境变量配置,在文档的根目录下创建`.env.local`文件,填写以下环境变量:
@@ -12,7 +12,7 @@ FASTGPT_HOME_DOMAIN = #要跳转的FastGPT项目的域名,默认海外版
你可以在FastGPT项目根目录下执行以下命令来运行文档。
```bash
-npm install #只能npm install,不能pnpm
+npm install # 只能 npm install,不能 pnpm
npm run dev
```
项目会默认跑在`http:localhost:3000`端口
diff --git a/document/content/docs/faq/error.mdx b/document/content/docs/faq/error.mdx
index bbad312be..268384302 100644
--- a/document/content/docs/faq/error.mdx
+++ b/document/content/docs/faq/error.mdx
@@ -4,7 +4,7 @@ title: 报错
1. ### 当前分组上游负载已饱和,请稍后再试(request id:202407100753411462086782835521)
-是oneapi渠道的问题,可以换个模型用or换一家中转站
+是oneapi渠道的问题,可以换个模型用或者换一家中转站
1. ### 使用API时在日志中报错Connection Error
diff --git a/document/content/docs/introduction/guide/team_permissions/customDomain.mdx b/document/content/docs/introduction/guide/team_permissions/customDomain.mdx
index de504a0f4..febbada27 100644
--- a/document/content/docs/introduction/guide/team_permissions/customDomain.mdx
+++ b/document/content/docs/introduction/guide/team_permissions/customDomain.mdx
@@ -20,8 +20,8 @@ FastGPT 云服务版自 v4.14.4 后支持配置自定义域名。
1. 准备好您的域名。您的域名必须先经过备案,目前支持“阿里云”、“腾讯云”、“火山引擎”三家服务商的备案域名。
2. 点击“编辑”按钮,进入编辑状态。
3. 填入您的域名,例如 www.example.com
-4. 在域名服务商的域名解析处,添加界面中提示的 DNS 纪录,注意纪录类型为 CNAME。
-5. 添加解析纪录后,点击“保存”按钮。系统将自动检查 DNS 解析情况,一般情况下,在一分钟内就可以获取到解析纪录。如果长时间没有获取到纪录,可以重试一次。
+4. 在域名服务商的域名解析处,添加界面中提示的 DNS 记录,注意记录类型为 CNAME。
+5. 添加解析记录后,点击"保存"按钮。系统将自动检查 DNS 解析情况,一般情况下,在一分钟内就可以获取到解析记录。如果长时间没有获取到记录,可以重试一次。
6. 待状态提示显示为“已生效”后,点击“确认”按钮即可。

@@ -30,7 +30,7 @@ FastGPT 云服务版自 v4.14.4 后支持配置自定义域名。
## 域名解析失效
-系统会每天对 DNS 解析进行检查,如果发现 DNS 解析纪录失效,则会停用该自定义域名,可以在“自定义域名”管理界面中点击“编辑”进行重新解析。
+系统会每天对 DNS 解析进行检查,如果发现 DNS 解析记录失效,则会停用该自定义域名,可以在"自定义域名"管理界面中点击"编辑"进行重新解析。

diff --git a/document/content/docs/upgrading/4-14/4144.mdx b/document/content/docs/upgrading/4-14/4144.mdx
index a131f498d..18614247d 100644
--- a/document/content/docs/upgrading/4-14/4144.mdx
+++ b/document/content/docs/upgrading/4-14/4144.mdx
@@ -54,7 +54,11 @@ curl --location --request POST 'https://{{host}}/api/admin/initv4144' \
7. 模型测试时,如果模型未启动,会导致无法被测试。
8. MCP header 中带特殊内容时,会抛错。
9. 工作流引用其他 Agent 时,切换版本号后未及时更新 UI。
+10. 发布渠道文档链接定位错误。
+11. Checkbox 在禁用状态时,hover 样式错误。
+12. 模型头像缺失情况下,默认 huggingface.svg 图标显示错误。
## 插件
1. 新增 GLM4.6 与 DS3.2 系列模型预设。
+2. 修复 MinerU SaaS 插件模型版本不能选择 vlm 的问题
diff --git a/document/content/docs/use-cases/app-cases/lab_appointment.mdx b/document/content/docs/use-cases/app-cases/lab_appointment.mdx
index 6ce438fd1..b6d0434a2 100644
--- a/document/content/docs/use-cases/app-cases/lab_appointment.mdx
+++ b/document/content/docs/use-cases/app-cases/lab_appointment.mdx
@@ -27,7 +27,7 @@ import { Alert } from '@/components/docs/Alert';
背景知识中,引导模型调用工具去执行不通的操作。
-**Tips:** 这里需要增加适当的上下文,方便模型结合历史纪录进行判断和决策~
+**Tips:** 这里需要增加适当的上下文,方便模型结合历史记录进行判断和决策~
## 3. HTTP 模块
diff --git a/document/content/docs/use-cases/external-integration/wecom.mdx b/document/content/docs/use-cases/external-integration/wecom.mdx
index 8bd2f9ec4..e795017a6 100644
--- a/document/content/docs/use-cases/external-integration/wecom.mdx
+++ b/document/content/docs/use-cases/external-integration/wecom.mdx
@@ -34,7 +34,7 @@ description: FastGPT 接入企微机器人教程
### 2.4 获取关键密钥
-随机生成或者手动输入 Token 和 Encoding-AESKey,并且纪录下来
+随机生成或者手动输入 Token 和 Encoding-AESKey,并且记录下来

@@ -46,7 +46,7 @@ description: FastGPT 接入企微机器人教程
### 2.6 配置发布渠道信息
-配置该发布渠道的信息,需要填入 Token 和 AESKey,也就是第四步中纪录下来的 Token 和 Encoding-AESKey
+配置该发布渠道的信息,需要填入 Token 和 AESKey,也就是第四步中记录下来的 Token 和 Encoding-AESKey

@@ -69,4 +69,4 @@ description: FastGPT 接入企微机器人教程
1. 检查可信域名是否配置正确。
2. 检查 Token 和 Encoding-AESKey 是否正确。
3. 查看 FastGPT 对话日志,是否有对应的提问记录。
-4. 如果没记录,则可能是应用运行报错了,可以先试试最简单的机器人.
+4. 如果没记录,则可能是应用运行报错了,可以先试试最简单的机器人。
diff --git a/document/data/doc-last-modified.json b/document/data/doc-last-modified.json
index 86afd48fd..6b6a2b050 100644
--- a/document/data/doc-last-modified.json
+++ b/document/data/doc-last-modified.json
@@ -34,7 +34,7 @@
"document/content/docs/introduction/development/openapi/chat.mdx": "2025-11-14T13:21:17+08:00",
"document/content/docs/introduction/development/openapi/dataset.mdx": "2025-09-29T11:34:11+08:00",
"document/content/docs/introduction/development/openapi/intro.mdx": "2025-09-29T11:34:11+08:00",
- "document/content/docs/introduction/development/openapi/share.mdx": "2025-12-09T12:18:15+08:00",
+ "document/content/docs/introduction/development/openapi/share.mdx": "2025-12-09T23:33:32+08:00",
"document/content/docs/introduction/development/proxy/cloudflare.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/proxy/http_proxy.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/proxy/nginx.mdx": "2025-07-23T21:35:03+08:00",
@@ -89,7 +89,7 @@
"document/content/docs/introduction/guide/plugins/google_search_plugin_guide.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/plugins/searxng_plugin_guide.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/plugins/upload_system_tool.mdx": "2025-11-04T16:58:12+08:00",
- "document/content/docs/introduction/guide/team_permissions/customDomain.mdx": "2025-12-09T18:14:22+08:00",
+ "document/content/docs/introduction/guide/team_permissions/customDomain.mdx": "2025-12-09T23:33:32+08:00",
"document/content/docs/introduction/guide/team_permissions/invitation_link.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/team_permissions/team_roles_permissions.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/index.en.mdx": "2025-07-23T21:35:03+08:00",
@@ -102,7 +102,7 @@
"document/content/docs/protocol/terms.en.mdx": "2025-08-03T22:37:45+08:00",
"document/content/docs/protocol/terms.mdx": "2025-08-03T22:37:45+08:00",
"document/content/docs/toc.en.mdx": "2025-08-04T13:42:36+08:00",
- "document/content/docs/toc.mdx": "2025-12-09T18:14:22+08:00",
+ "document/content/docs/toc.mdx": "2025-12-09T23:33:32+08:00",
"document/content/docs/upgrading/4-10/4100.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-10/4101.mdx": "2025-09-08T20:07:20+08:00",
"document/content/docs/upgrading/4-11/4110.mdx": "2025-08-05T23:20:39+08:00",
@@ -119,7 +119,7 @@
"document/content/docs/upgrading/4-14/4141.mdx": "2025-11-19T10:15:27+08:00",
"document/content/docs/upgrading/4-14/4142.mdx": "2025-11-18T19:27:14+08:00",
"document/content/docs/upgrading/4-14/4143.mdx": "2025-11-26T20:52:05+08:00",
- "document/content/docs/upgrading/4-14/4144.mdx": "2025-12-08T21:45:21+08:00",
+ "document/content/docs/upgrading/4-14/4144.mdx": "2025-12-10T11:41:15+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",
@@ -199,6 +199,6 @@
"document/content/docs/use-cases/external-integration/feishu.mdx": "2025-07-24T14:23:04+08:00",
"document/content/docs/use-cases/external-integration/official_account.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/use-cases/external-integration/openapi.mdx": "2025-09-29T11:34:11+08:00",
- "document/content/docs/use-cases/external-integration/wecom.mdx": "2025-12-09T20:03:29+08:00",
+ "document/content/docs/use-cases/external-integration/wecom.mdx": "2025-12-09T23:33:32+08:00",
"document/content/docs/use-cases/index.mdx": "2025-07-24T14:23:04+08:00"
}
\ No newline at end of file
diff --git a/packages/web/styles/theme.ts b/packages/web/styles/theme.ts
index ba50380ef..78e58cb01 100644
--- a/packages/web/styles/theme.ts
+++ b/packages/web/styles/theme.ts
@@ -556,11 +556,20 @@ const Checkbox = checkBoxMultiStyle({
bg: 'myGray.100',
borderColor: 'transparent',
color: 'myGray.400',
- outline: 'none'
+ outline: 'none',
+ _hover: {
+ bg: 'myGray.100',
+ borderColor: 'transparent'
+ }
}
},
_hover: {
borderColor: 'primary.400'
+ },
+ _disabled: {
+ _hover: {
+ borderColor: 'inherit'
+ }
}
}
}),
diff --git a/projects/app/public/imgs/modal/huggingface.svg b/projects/app/public/imgs/modal/huggingface.svg
new file mode 100644
index 000000000..88d6d6502
--- /dev/null
+++ b/projects/app/public/imgs/modal/huggingface.svg
@@ -0,0 +1,15 @@
+
diff --git a/projects/app/src/pageComponents/app/detail/Publish/DingTalk/DingTalkEditModal.tsx b/projects/app/src/pageComponents/app/detail/Publish/DingTalk/DingTalkEditModal.tsx
index ce2ed8042..2bdc4bb8f 100644
--- a/projects/app/src/pageComponents/app/detail/Publish/DingTalk/DingTalkEditModal.tsx
+++ b/projects/app/src/pageComponents/app/detail/Publish/DingTalk/DingTalkEditModal.tsx
@@ -90,10 +90,7 @@ const DingTalkEditModal = ({
{t('publish:dingtalk.api')}
{feConfigs?.docUrl && (
{
{feConfigs?.docUrl && (
{t('publish:feishu_api')}
{feConfigs?.docUrl && (
{
{feConfigs?.docUrl && (
{t('publish:official_account.params')}
{feConfigs?.docUrl && (
{
{feConfigs?.docUrl && (