diff --git a/zh-cn/react-native-exception-handler.md b/zh-cn/react-native-exception-handler.md index 1260dc904fe286e2b26396131928e3db60ed0108..e41e9fccc9ef780dd11bdd94d4493ff7df7faf0e 100644 --- a/zh-cn/react-native-exception-handler.md +++ b/zh-cn/react-native-exception-handler.md @@ -1,4 +1,4 @@ -> 模板版本:v0.0.1 +> 模板版本:v0.1.1

react-native-exception-handler

@@ -18,18 +18,16 @@ -**正在 npm 发布中,当前请先从仓库[Release](https://github.com/react-native-oh-library/react-native-exception-handler/releases)中获取库 tgz,通过使用本地依赖来安装本库。** - #### **yarn** ```bash -yarn add xxx +yarn add @react-native-oh-tpl/react-native-exception-handler ``` #### **npm** ```bash -npm install xxx +npm install @react-native-oh-tpl/react-native-exception-handler ``` @@ -119,7 +117,7 @@ setNativeExceptionHandler( ```diff "dependencies": { "rnoh": "file:../rnoh", -+ "rnoh-exception-handler": "file:../../node_modules/react-native-exception-handler/harmony/exception_handler.har", ++ "rnoh-exception-handler": "file:../../node_modules/@react-native-oh-tpl/react-native-exception-handler/harmony/exception_handler.har", } ``` @@ -138,7 +136,7 @@ ohpm install ```diff "dependencies": { "rnoh": "file:../rnoh", -+ "rnoh-exception-handler": "file:../../node_modules/react-native-exception-handler/harmony/exception_handler" ++ "rnoh-exception-handler": "file:../../node_modules/@react-native-oh-tpl/react-native-exception-handler/harmony/exception_handler" } ``` @@ -219,7 +217,7 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] { 在 `YourProject/entry/src/main/ets/pages` 目录下,新建文件`ExceptionView.ets` ```typescript -import { ExceptionComopnent } from 'rnoh-exception-handler'; +import { ExceptionComponent } from 'rnoh-exception-handler'; import router from '@ohos.router'; interface RouterParam { diff --git a/zh-cn/react-navigation-elements.md b/zh-cn/react-navigation-elements.md index eaf31f41a2591282d8b8a01bd81aff142691e916..82395d366c780594e6c2f87121023220059579bb 100644 --- a/zh-cn/react-navigation-elements.md +++ b/zh-cn/react-navigation-elements.md @@ -1,4 +1,4 @@ -> 模板版本:v0.0.1 +> 模板版本:v0.1.1

@react-navigation/elements

@@ -18,17 +18,16 @@ -**正在 npm 发布中,当前请先从仓库[Release](https://github.com/react-native-oh-library/react-navigation/releases?q=elements&expanded=true)中获取库 tgz,通过使用本地依赖来安装本库。** #### **yarn** ```bash -yarn add xxx +yarn add @react-native-oh-tpl/elements ``` #### **npm** ```bash -npm install xxx +npm install @react-native-oh-tpl/elements ```