From 58df9e1a37b26d6a0cd071aae6912fcd9e498650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Mon, 18 Apr 2022 09:01:16 +0000 Subject: [PATCH] update en/application-dev/quick-start/start-with-js.md. Signed-off-by: @ge-yafang --- en/application-dev/quick-start/start-with-js.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/application-dev/quick-start/start-with-js.md b/en/application-dev/quick-start/start-with-js.md index b2ad7acd9e..ea838f782d 100644 --- a/en/application-dev/quick-start/start-with-js.md +++ b/en/application-dev/quick-start/start-with-js.md @@ -163,12 +163,12 @@ You can implement page redirection through the [page router](../ui/ui-js-buildin ``` - import router from '@system.router'; + import router from '@ohos.router'; export default { onclick: function () { router.push({ - uri: "pages/second/second" + url: "pages/second/second" }) } } @@ -179,7 +179,7 @@ You can implement page redirection through the [page router](../ui/ui-js-buildin ``` - import router from '@system.router'; + import router from '@ohos.router'; export default { back: function () { -- GitLab