From 94c71bd1c0b629c170117de8703973e24702ba67 Mon Sep 17 00:00:00 2001 From: wang-yuanbai <603970629@qq.com> Date: Sun, 24 Dec 2023 11:59:20 +0800 Subject: [PATCH] =?UTF-8?q?[Issues:=20#I8QUOT]=20=E6=B7=BB=E5=8A=A0VMall?= =?UTF-8?q?=E7=89=88=E6=9C=ACreact-native-exception-handler=E5=92=8Celemen?= =?UTF-8?q?ts=E6=96=87=E6=A1=A3,=E5=9B=9E=E9=80=80[Issues:=20#I8QULT]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vmall/react-native-exception-handler.md | 14 ++++++-------- vmall/react-navigation-elements.md | 7 +++---- zh-cn/react-native-exception-handler.md | 14 ++++++++------ zh-cn/react-navigation-elements.md | 7 ++++--- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/vmall/react-native-exception-handler.md b/vmall/react-native-exception-handler.md index 1260dc90..e41e9fcc 100644 --- a/vmall/react-native-exception-handler.md +++ b/vmall/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/vmall/react-navigation-elements.md b/vmall/react-navigation-elements.md index eaf31f41..82395d36 100644 --- a/vmall/react-navigation-elements.md +++ b/vmall/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 ``` diff --git a/zh-cn/react-native-exception-handler.md b/zh-cn/react-native-exception-handler.md index e41e9fcc..1260dc90 100644 --- a/zh-cn/react-native-exception-handler.md +++ b/zh-cn/react-native-exception-handler.md @@ -1,4 +1,4 @@ -> 模板版本:v0.1.1 +> 模板版本:v0.0.1

react-native-exception-handler

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

@react-navigation/elements

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