提交 af667064 编写于 作者: 贺念哲

启动模式表格编号改正

Signed-off-by: N贺念哲 <nzhe@isoftstone.com>
上级 24df117f
...@@ -37,6 +37,8 @@ You can override the lifecycle callbacks provided by the Page ability in the **a ...@@ -37,6 +37,8 @@ You can override the lifecycle callbacks provided by the Page ability in the **a
The ability supports two launch types: singleton and multi-instance. The ability supports two launch types: singleton and multi-instance.
You can specify the launch type by setting **launchType** in the **config.json** file. You can specify the launch type by setting **launchType** in the **config.json** file.
**Table 1** Introduction to startup mode
| Launch Type | Description |Description | | Launch Type | Description |Description |
| ----------- | ------- |---------------- | | ----------- | ------- |---------------- |
| standard | Multi-instance | A new instance is started each time an ability starts.| | standard | Multi-instance | A new instance is started each time an ability starts.|
...@@ -48,7 +50,7 @@ By default, **singleton** is used. ...@@ -48,7 +50,7 @@ By default, **singleton** is used.
## Development Guidelines ## Development Guidelines
### Available APIs ### Available APIs
**Table 1** APIs provided by featureAbility **Table 2** APIs provided by featureAbility
| API | Description | | API | Description |
| --------------------------------------------------- | --------------- | | --------------------------------------------------- | --------------- |
...@@ -178,7 +180,7 @@ In the cross-device scenario, the application must also apply for the data synch ...@@ -178,7 +180,7 @@ In the cross-device scenario, the application must also apply for the data synch
### Lifecycle APIs ### Lifecycle APIs
**Table 2** Lifecycle callbacks **Table 3** Lifecycle callbacks
| API | Description | | API | Description |
| ------------ | ------------------------------------------------------------ | | ------------ | ------------------------------------------------------------ |
......
...@@ -43,6 +43,8 @@ ability支持单实例和多实例两种启动模式。 ...@@ -43,6 +43,8 @@ ability支持单实例和多实例两种启动模式。
`config.json`中通过launchType配置项,可以配置具体的启动模式,其中: `config.json`中通过launchType配置项,可以配置具体的启动模式,其中:
**表1** 启动模式介绍
| 启动模式 | 描述 |说明 | | 启动模式 | 描述 |说明 |
| ----------- | ------- |---------------- | | ----------- | ------- |---------------- |
| standard | 多实例 | 每次startAbility都会启动一个新的实例。 | | standard | 多实例 | 每次startAbility都会启动一个新的实例。 |
...@@ -55,7 +57,7 @@ ability支持单实例和多实例两种启动模式。 ...@@ -55,7 +57,7 @@ ability支持单实例和多实例两种启动模式。
### featureAbility接口说明 ### featureAbility接口说明
**表1** featureAbility接口介绍 **表2** featureAbility接口介绍
| 接口名 | 描述 | | 接口名 | 描述 |
| --------------------------------------------------- | --------------- | | --------------------------------------------------- | --------------- |
...@@ -184,7 +186,7 @@ ability支持单实例和多实例两种启动模式。 ...@@ -184,7 +186,7 @@ ability支持单实例和多实例两种启动模式。
### 生命周期接口说明 ### 生命周期接口说明
**表2** 生命周期回调函数介绍 **表3** 生命周期回调函数介绍
| 接口名 | 描述 | | 接口名 | 描述 |
| ------------ | ------------------------------------------------------------ | | ------------ | ------------------------------------------------------------ |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册