diff --git a/zh-cn/application-dev/quick-start/module-configuration-file.md b/zh-cn/application-dev/quick-start/module-configuration-file.md
index 92393e581ba192448aa7a34674599c328256f237..bb57b60d01cb810ebdd513610567b5d58c21042f 100644
--- a/zh-cn/application-dev/quick-start/module-configuration-file.md
+++ b/zh-cn/application-dev/quick-start/module-configuration-file.md
@@ -61,7 +61,8 @@
]
},
"targetModuleName": "feature",
- "targetPriority": 50
+ "targetPriority": 50,
+ "isolationMode": "nonisolationFirst"
}
```
@@ -93,6 +94,7 @@ module.json5配置文件包含以下标签。
| [dependencies](#dependencies标签)| 标识当前模块运行时依赖的共享库列表。| 对象数组 | 该标签可缺省,缺省值为空。 |
| targetModuleName | 标识当前包所指定的目标module, 标签值采用字符串表示(最大长度31个字节),该名称在指定的应用中要唯一。|字符串|该标签可缺省,缺省时当前包为非overlay特性的Module。|
| targetPriority | 标识当前Module的优先级, 当targetModuleName字段配置之后,当前Module为overlay特征的Module, 该标签的额取值范围为1~100|数值|该标签可缺省, 缺省值为1。|
+| isolationMode | 标识当前Module的多进程配置项。类型有4种,分别:
- nonisolationFirst:优先在非独立进程中运行。
- isolationFirst:优先在独立进程中运行。
- isolationOnly:只在独立进程中运行。
- nonisolationOnly:只在非独立进程中运行。 |字符串|该标签可缺省, 缺省值为nonisolationFirst。|
## deviceTypes标签
diff --git a/zh-cn/application-dev/reference/apis/js-apis-installer.md b/zh-cn/application-dev/reference/apis/js-apis-installer.md
index 079649bbbdb3af1851fdac372fb1ce1a71ea9412..006019626daad8bca5b6674f541d8b4db58f851d 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-installer.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-installer.md
@@ -121,6 +121,7 @@ install(hapFilePaths: Array<string>, installParam: InstallParam, callback:
| 17700036 | Failed to install the HSP because lacks appropriate permissions. |
| 17700039 | Failed to install because disallow install a shared bundle by hapFilePaths. |
| 17700041 | Failed to install because enterprise device management disallow install. |
+| 17700044 | Failed to install because the isolationMode does not match the system. |
**示例:**
@@ -184,6 +185,7 @@ install(hapFilePaths: Array<string>, callback: AsyncCallback<void>):
| 17700036 | Failed to install the HSP because lacks appropriate permissions. |
| 17700039 | Failed to install because disallow install a shared bundle by hapFilePaths. |
| 17700041 | Failed to install because enterprise device management disallow install. |
+| 17700044 | Failed to install because the isolationMode does not match the system. |
**示例:**
@@ -251,6 +253,7 @@ install(hapFilePaths: Array\, installParam?: InstallParam) : Promise\
+Failed to install because the isolationMode does not match the system.
+
+**错误描述**
+安装应用时,设置的isolationMode与系统配置项所允许的系统配置项矛盾。
+
+**可能原因**
+1. 设备支持隔离模式,即supportIsolationMode为true时,HAP配置的isolationMode为nonisolationOnly。
+2. 设备不支持隔离模式,即supportIsolationMode为false时,HAP配置的isolationMode为isolationOnly。
+
+**处理步骤**
+1. 按照设备的隔离模式正确配置HAP字段isolationMode。
\ No newline at end of file