mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
randon->random
This commit is contained in:
parent
40635c87ab
commit
80f69544a0
@ -290,7 +290,7 @@ class MyFormItem extends React.Component {
|
||||
{
|
||||
"type": "custom",
|
||||
"label": "随机值",
|
||||
"name": "randon"
|
||||
"name": "random"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -333,4 +333,4 @@ class MyFormItem extends React.Component {
|
||||
```
|
||||
|
||||
即:通过 `children` 传递一个React组件,这个示例是一个React Stateless Functional Component,也可以是传统的 React 组件。
|
||||
任何节点如果包含 `children` 这个属性,则都会把当前节点交给 `children` 来处理,跳过了从 amis 渲染器池子中选择渲染器的过程。
|
||||
任何节点如果包含 `children` 这个属性,则都会把当前节点交给 `children` 来处理,跳过了从 amis 渲染器池子中选择渲染器的过程。
|
||||
|
Loading…
Reference in New Issue
Block a user