Skip to content

Commit b173123

Browse files
authored
Merge pull request #1614 from alibaba/xflow
Xflow
2 parents 9180fe2 + cc27ae6 commit b173123

File tree

9 files changed

+26
-22
lines changed

9 files changed

+26
-22
lines changed

docs/xflow/FlowProvider.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
order: 3
2+
order: 4
33
title: '<FlowProvider/>'
44
mobile: false
5-
group:
6-
title: 最佳展示
7-
order: 4
5+
group:
6+
title: 高级用法
7+
order: 1
88
---
99

1010
## 基础交互

docs/xflow/api.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
order: 1
3-
toc: content
4-
title: API
3+
title: 'API'
4+
mobile: false
5+
group:
6+
title: 'API'
7+
order: 3
58
---
69
# API
710

docs/xflow/custom-node-setting.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
order: 2
3-
toc: content
2+
order: 3
3+
title: '节点配置面板'
44
mobile: false
55
group:
6-
title: 最佳展示
6+
title: 高级用法
77
order: 1
88
---
99

docs/xflow/custom-node-view.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
order: 2
3-
toc: content
3+
title: '节点内容展示'
44
mobile: false
55
group:
6-
title: 最佳展示
6+
title: 高级用法
77
order: 1
88
---
99

docs/xflow/layout.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
order: 5
2+
order: 6
33
title: '画布布局'
44
mobile: false
55
group:
6-
title: 最佳展示
6+
title: 高级用法
77
order: 1
88
---
99
# 布局方向

docs/xflow/log.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
order: 5
3-
title: '节点日志和状态'
2+
order: 7
3+
title: '节点日志和节点状态'
44
mobile: false
55
group:
6-
title: 最佳展示
6+
title: 高级用法
77
order: 1
88
---
99
# 节点日志和节点状态

docs/xflow/nodeBuildIn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
order: 4
2+
order: 5
33
title: '内置节点'
44
mobile: false
55
group:
6-
title: 最佳展示
7-
order:
6+
title: 高级用法
7+
order: 1
88
---
99
# 内置节点
1010

docs/xflow/nodeSetting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ order: 1
33
title: '节点菜单配置'
44
mobile: false
55
group:
6-
title: 最佳展示
6+
title: '高级用法'
77
order: 1
88
---
99
# 节点配置

packages/x-flow/src/components/NodeEditor/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ const NodeEditor: FC<INodeEditorProps> = (props: any) => {
121121
widgets={widgets}
122122
watch={watch}
123123
size={'small'}
124-
readOnly={readOnly}
124+
// readOnly={readOnly}
125+
disabled={readOnly}
125126
/>
126127
);
127128
} else if (
@@ -135,7 +136,7 @@ const NodeEditor: FC<INodeEditorProps> = (props: any) => {
135136
widgets={widgets}
136137
watch={watch}
137138
size={'small'}
138-
readOnly={readOnly}
139+
disabled={readOnly}
139140
/>
140141
);
141142
} else if (CustomSettingWidget) {

0 commit comments

Comments
 (0)