diff --git a/zh-cn/react-native-webview.md b/zh-cn/react-native-webview.md
index 770a253a5c463e3228905a4e298ebfb621139e3e..7b1b2b1a0c96d26d4aaa00084257bb5a13cfa84b 100644
--- a/zh-cn/react-native-webview.md
+++ b/zh-cn/react-native-webview.md
@@ -1,4 +1,3 @@
-
> 模板版本:v0.2.2
@@ -48,21 +47,22 @@ import { WebView } from "react-native-webview";
export default function WebViewDemo() {
return (
-
-
);
}
```
+## 使用 Codegen(如本库已适配了 Codegen )
+
+本库已经适配了 `Codegen` ,在使用前需要主动执行生成三方库桥接代码,详细请参考[ Codegen 使用文档](/zh-cn/codegen.md)。
+
## Link
目前 HarmonyOS 暂不支持 AutoLink,所以 Link 步骤需要手动配置。
首先需要使用 DevEco Studio 打开项目里的 HarmonyOS 工程 `harmony`
-### 在工程根目录的 `oh-package.json` 添加 overrides 字段
-
+### 在工程根目录的 `oh-package.json5` 添加 overrides 字段
```json
{
@@ -73,7 +73,6 @@ export default function WebViewDemo() {
}
```
-
### 引入原生端代码
目前有两种方法:
@@ -264,11 +263,13 @@ ohpm install
| `javaScriptEnabled?` | Boolean value to enable JavaScript in the WebView. | boolean | No | All | yes |
| `showsHorizontalScrollIndicator?` | Boolean value that determines whether a horizontal scroll indicator is shown in the WebView. | boolean | No | iOS,android,macOS | yes |
| `showsVerticalScrollIndicator` | Boolean value that determines whether a vertical scroll indicator is shown in the WebView. | boolean | No | iOS,android,macOS | yes |
+| `ignoreSilentHardwareSwitch` | Boolean value that When set to true the hardware silent switch is ignored. | boolean | No | iOS | yes |
| `cacheEnabled?` | Sets whether WebView should use browser caching. | boolean | No | iOS,android,macOS | yes |
| `cacheMode?` | Overrides the way the cache is used. | string | No | android | yes |
| `textZoom?` | If the user has set a custom font size in the Android and harmony system, an undesirable scale of the site interface in WebView occurs. | number | No | android | yes |
| `injectJavaScript?: (script: string) => void` | Executes the JavaScript string. | function | No | iOS,android,macOS | yes |
| `onLoadEnd?: (event) => void` | Function that is invoked when the WebView load succeeds or fails used. | function | No | All | yes |
+| `onLoadProgress?: (event) => void` | Function that is invoked when the WebView is loading. | function | No | All | yes |
| `onMessage?: (event) => void` | Function that is invoked when the webview calls window.ReactNativeWebView.postMessage. | function | No | iOS,android,macOS | yes |
| `onShouldStartLoadWithRequest?: (event) => void` | Function that allows custom handling of any web view requests. | function | No | iOS,android,macOS | yes |
| `reload?` | Reloads the current page. | function | No | iOS,android,macOS | yes |
@@ -292,5 +293,3 @@ ohpm install
本项目基于 [The MIT License (MIT)](https://github.com/react-native-webview/react-native-webview/blob/master/LICENSE) ,请自由地享受和参与开源。
[react-native-vconsole.md](react-native-vconsole.md)
-
-
\ No newline at end of file