-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update links of Chinese guide docs (#2423)
- Loading branch information
1 parent
91e070b
commit 630349b
Showing
13 changed files
with
53 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# 实现异步数据源 | ||
|
||
异步数据源管理,核心体现在[Field](https://core.formilyjs.org/api/models/field)模型中的 dataSource 属性,我们可以在 effects 中修改 Field 的 dataSource,也可以在 reactions 中修改 dataSource 属性。 | ||
异步数据源管理,核心体现在[Field](https://core.formilyjs.org/zh-CN/api/models/field)模型中的 dataSource 属性,我们可以在 effects 中修改 Field 的 dataSource,也可以在 reactions 中修改 dataSource 属性。 | ||
|
||
如果字段组件内部(比如 Select)有消费 dataSource 属性,当 dataSource 发生变化时,对应组件会自动重渲染。 | ||
|
||
<Alert> | ||
注意:如果是业务自定义组件,请手动映射dataSource到自定义组件中,可以使用 <a href="https://react.formilyjs.org/api/shared/connect">connect</a>,也可以使用 <a href="https://react.formilyjs.org/api/shared/observer">observer</a> + <a href="https://react.formilyjs.org/api/hooks/use-field">useField</a> | ||
注意:如果是业务自定义组件,请手动映射dataSource到自定义组件中,可以使用 <a href="https://react.formilyjs.org/zh-CN/api/shared/connect">connect</a>,也可以使用 <a href="https://react.formilyjs.org/zh-CN/api/shared/observer">observer</a> + <a href="https://react.formilyjs.org/zh-CN/api/hooks/use-field">useField</a> | ||
</Alert> | ||
|
||
具体案例可以参考: | ||
|
||
- [Select](https://antd.formilyjs.org/components/select) | ||
- [TreeSelect](https://antd.formilyjs.org/components/tree-select) | ||
- [Cascader](https://antd.formilyjs.org/components/cascader) | ||
- [Select](https://antd.formilyjs.org/zh-CN/components/select) | ||
- [TreeSelect](https://antd.formilyjs.org/zh-CN/components/tree-select) | ||
- [Cascader](https://antd.formilyjs.org/zh-CN/components/cascader) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# 实现表单布局 | ||
|
||
表单布局主要是使用[@formily/antd](https://antd.formilyjs.org) 或 [@formily/next](https://fusion.formilyjs.org) 中的: | ||
表单布局主要是使用[@formily/antd](https://antd.formilyjs.org/zh-CN) 或 [@formily/next](https://fusion.formilyjs.org/zh-CN) 中的: | ||
|
||
- [FormLayout](https://antd.formilyjs.org/components/form-layout) 组件 | ||
- [FormItem](https://antd.formilyjs.org/components/form-item) 组件 | ||
- [FormGrid](https://antd.formilyjs.org/components/form-grid) 组件 | ||
- [Space](https://antd.formilyjs.org/components/space) 组件 | ||
- [FormLayout](https://antd.formilyjs.org/zh-CN/components/form-layout) 组件 | ||
- [FormItem](https://antd.formilyjs.org/zh-CN/components/form-item) 组件 | ||
- [FormGrid](https://antd.formilyjs.org/zh-CN/components/form-grid) 组件 | ||
- [Space](https://antd.formilyjs.org/zh-CN/components/space) 组件 | ||
|
||
这 4 个组件基本上能解决所有复杂表单布局场景,我们只需要灵活的组合使用这几个组件即可。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# 弹窗与抽屉 | ||
|
||
主要使用[@formily/antd](https://antd.formilyjs.org) 或 [@formily/next](https://fusion.formilyjs.org) 中的[FormDialog](https://antd.formilyjs.org/components/form-dialog)函数 和 [FormDrawer](https://antd.formilyjs.org/components/form-drawer)函数 | ||
主要使用[@formily/antd](https://antd.formilyjs.org/zh-CN) 或 [@formily/next](https://fusion.formilyjs.org/zh-CN) 中的[FormDialog](https://antd.formilyjs.org/zh-CN/components/form-dialog)函数 和 [FormDrawer](https://antd.formilyjs.org/zh-CN/components/form-drawer)函数 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# 分步表单 | ||
|
||
主要使用[@formily/antd](https://antd.formilyjs.org) 或 [@formily/next](https://fusion.formilyjs.org) 中的[FormStep](https://antd.formilyjs.org/components/form-step)组件 | ||
主要使用[@formily/antd](https://antd.formilyjs.org/zh-CN) 或 [@formily/next](https://fusion.formilyjs.org/zh-CN) 中的[FormStep](https://antd.formilyjs.org/zh-CN/components/form-step)组件 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# 选项卡/手风琴表单 | ||
|
||
主要使用[@formily/antd](https://antd.formilyjs.org) 或 [@formily/next](https://fusion.formilyjs.org) 中的[FormTab](https://antd.formilyjs.org/components/form-tab)组件 与 [FormCollapse](https://antd.formilyjs.org/components/form-collapse)组件 | ||
主要使用[@formily/antd](https://antd.formilyjs.org/zh-CN) 或 [@formily/next](https://fusion.formilyjs.org/zh-CN) 中的[FormTab](https://antd.formilyjs.org/zh-CN/components/form-tab)组件 与 [FormCollapse](https://antd.formilyjs.org/zh-CN/components/form-collapse)组件 |
Oops, something went wrong.