diff --git a/packages/core/docs/guide/form.md b/packages/core/docs/guide/form.md index be91e829336..6d4dc96c9f3 100644 --- a/packages/core/docs/guide/form.md +++ b/packages/core/docs/guide/form.md @@ -32,7 +32,7 @@ The field is created mainly through the createField/createArrayField/createObjec The query method is mainly used to query the field. The query method can pass in the path of the field or regular expression to match the field. -Because the detailed rules of the field path are still more complicated, they will be explained in detail in the following [Path System](/guide/path) article. +Because the detailed rules of the field path are still more complicated, they will be explained in detail in the following [Path System](/api/entry/form-path) article. Then calling the query method will return a Query object. The Query object can have a forEach/map/reduce method that traverses all fields in batches, or a take method that takes only the first field that is queried, as well as direct reading of fields. The get method of properties, and the getIn method that can read field properties in depth, the difference between the two methods is that the former can have smart prompts, and the latter has no prompts, so it is recommended that users use the get method. diff --git a/packages/core/docs/guide/form.zh-CN.md b/packages/core/docs/guide/form.zh-CN.md index 0dc8668b32f..39eb7ef655c 100644 --- a/packages/core/docs/guide/form.zh-CN.md +++ b/packages/core/docs/guide/form.zh-CN.md @@ -32,7 +32,7 @@ 主要通过 query 方法来查询字段,query 方法可以传入字段的路径或者正则表达式来匹配字段。 -因为字段路径的详细规则还是比较复杂的,在后面的[路径系统](/guide/path)篇中会详细讲解。 +因为字段路径的详细规则还是比较复杂的,在后面的[路径系统](/api/entry/form-path)篇中会详细讲解。 然后调用 query 方法会返回一个 Query 对象,Query 对象中可以有批量遍历所有字段的 forEach/map/reduce 方法,也可以有只取查询到的第一个字段的 take 方法,同时还有直接读取字段属性的 get 方法,还有可以深层读取字段属性的 getIn 方法,两个方法的差别就是前者可以有智能提示,后者没有提示,所以推荐用户都用 get 方法。