From 33a4cb3a0830bc770f53ba7f9ef3131545dc16b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=AC=A7=E9=98=B3=E6=99=BA?= <1742104739@qq.com>
Date: Tue, 26 Dec 2023 17:19:36 +0800
Subject: [PATCH] =?UTF-8?q?[Issues:=20#I8QMA7]=20=E6=9B=B4=E6=96=B0Vmall?=
=?UTF-8?q?=E7=89=88=E6=9C=ACreact-native-webview=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
vmall/react-native-webview.md | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/vmall/react-native-webview.md b/vmall/react-native-webview.md
index ba5b7eed..1889e292 100644
--- a/vmall/react-native-webview.md
+++ b/vmall/react-native-webview.md
@@ -1,4 +1,5 @@
> 模板版本:v0.1.1
+
react-native-webview
@@ -11,7 +12,7 @@
->[!tip] [Github 地址](https://github.com/react-native-oh-library/react-native-webview)
+> [!tip] [Github 地址](https://github.com/react-native-oh-library/react-native-webview)
## 安装与使用
@@ -210,20 +211,21 @@ ohpm install
| `scalesPageToFit?` | Boolean that controls whether the web content is scaled to fit the view and enables the user to change the scale. | boolean | No | android | yes |
| `startInLoadingState?` | Boolean value that forces the WebView to show the loading view on the first load. | boolean | No | iOS,android,macOS | yes |
| `style?` | A style object that allow you to customize the WebView style. | Style | No | ALL | yes |
-| `domStorageEnabled?` | Boolean value to control whether DOM Storage is enabled. Used only in Android. | boolean | No | android | yes |
+| `domStorageEnabled?` | Boolean value to control whether DOM Storage is enabled. Used only in Android and harmony. | boolean | No | android | yes |
| `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 |
| `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 system, an undesirable scale of the site interface in WebView occurs. | number | 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 |
| ` 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 |
## 遗留问题
-- [ ] webview部分属性未实现鸿蒙化[issue#17](https://github.com/react-native-oh-library/react-native-webview/issues/17)
+
+- [ ] webview 部分属性未实现鸿蒙化[issue#17](https://github.com/react-native-oh-library/react-native-webview/issues/17)
- [ ] 中文乱码[issue#18](https://github.com/react-native-oh-library/react-native-webview/issues/18)
## 其他
--
Gitee