Members
$nextTick
nextTick
(readonly) isComponent
是否是组件
state
状态
(static) isComponent
是否是组件
Methods
render(h)
渲染函数
Parameters:
Name | Type | Description |
---|---|---|
h | * |
setState(partialStateopt) → {*}
设置状态,异步更新
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
partialState | * | <optional> | {} |
Returns:
- Type:
- *
shouldComponentUpdate() → {*}
控制组件是否需要更新
Returns:
- Type:
- *