API
Component

BatchRequest ($UI/comp/batchRequest-pc/components/batchRequest/batchRequest)

使用范围:UI2

Contents

component BatchRequest ($UI/comp/batchRequest-pc/components/batchRequest/batchRequest) extends ViewComponent

批请求组件

<b>使用场景</b>:提供批请求能力,保证请求事务一致

Constructor Top

  BatchRequest ()
  BatchRequest ( options)

Methods Top

BatchRequest beginBatchRequest ()

Operations Top

endBatchRequest (BatchRequest batch)

Constructor details Top

public BatchRequest ()

批请求组件

<b>使用场景</b>:提供批请求能力,保证请求事务一致

public BatchRequest ( options)

构造函数

Inherited from ViewComponent

	
		参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
	 

Parameters

options

参数选项

Methods Detail Top

public BatchRequest beginBatchRequest ()

开始批请求

Return Value

BatchRequest

Operations Detail Top

public endBatchRequest (BatchRequest batch)

结束批请求

Parameters

BatchRequest batch