Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xflow #1614

Merged
merged 3 commits into from
Jan 15, 2025
Merged

Xflow #1614

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/xflow/FlowProvider.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
order: 3
order: 4
title: '<FlowProvider/>'
mobile: false
group:
title: 最佳展示
order: 4
group:
title: 高级用法
order: 1
---

## 基础交互
Expand Down
7 changes: 5 additions & 2 deletions docs/xflow/api.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
order: 1
toc: content
title: API
title: 'API'
mobile: false
group:
title: 'API'
order: 3
---
# API

Expand Down
6 changes: 3 additions & 3 deletions docs/xflow/custom-node-setting.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
order: 2
toc: content
order: 3
title: '节点配置面板'
mobile: false
group:
title: 最佳展示
title: 高级用法
order: 1
---

Expand Down
4 changes: 2 additions & 2 deletions docs/xflow/custom-node-view.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
order: 2
toc: content
title: '节点内容展示'
mobile: false
group:
title: 最佳展示
title: 高级用法
order: 1
---

Expand Down
4 changes: 2 additions & 2 deletions docs/xflow/layout.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
order: 5
order: 6
title: '画布布局'
mobile: false
group:
title: 最佳展示
title: 高级用法
order: 1
---
# 布局方向
Expand Down
6 changes: 3 additions & 3 deletions docs/xflow/log.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
order: 5
title: '节点日志和状态'
order: 7
title: '节点日志和节点状态'
mobile: false
group:
title: 最佳展示
title: 高级用法
order: 1
---
# 节点日志和节点状态
Expand Down
6 changes: 3 additions & 3 deletions docs/xflow/nodeBuildIn.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
order: 4
order: 5
title: '内置节点'
mobile: false
group:
title: 最佳展示
order:
title: 高级用法
order: 1
---
# 内置节点

Expand Down
2 changes: 1 addition & 1 deletion docs/xflow/nodeSetting.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ order: 1
title: '节点菜单配置'
mobile: false
group:
title: 最佳展示
title: '高级用法'
order: 1
---
# 节点配置
Expand Down
5 changes: 3 additions & 2 deletions packages/x-flow/src/components/NodeEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ const NodeEditor: FC<INodeEditorProps> = (props: any) => {
widgets={widgets}
watch={watch}
size={'small'}
readOnly={readOnly}
// readOnly={readOnly}
disabled={readOnly}
/>
);
} else if (
Expand All @@ -135,7 +136,7 @@ const NodeEditor: FC<INodeEditorProps> = (props: any) => {
widgets={widgets}
watch={watch}
size={'small'}
readOnly={readOnly}
disabled={readOnly}
/>
);
} else if (CustomSettingWidget) {
Expand Down
Loading