Component

new Component()

组件类

Members

$nextTick

nextTick

(readonly) isComponent

是否是组件

state

状态

(static) isComponent

是否是组件

Methods

render(h)

渲染函数
Parameters:
NameTypeDescription
h*

setState(partialStateopt) → {*}

设置状态,异步更新
Parameters:
NameTypeAttributesDefaultDescription
partialState*<optional>
{}
Returns:
Type: 
*

shouldComponentUpdate() → {*}

控制组件是否需要更新
Returns:
Type: 
*