From e4b52a4725f357aa2b3ca329bfbc92e9b37bc41e 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:00:40 +0000 Subject: [PATCH] update en/application-dev/quick-start/start-with-js-low-code.md. Signed-off-by: @ge-yafang --- en/application-dev/quick-start/start-with-js-low-code.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/application-dev/quick-start/start-with-js-low-code.md b/en/application-dev/quick-start/start-with-js-low-code.md index b46990dc8e..e98d6aa349 100644 --- a/en/application-dev/quick-start/start-with-js-low-code.md +++ b/en/application-dev/quick-start/start-with-js-low-code.md @@ -104,12 +104,12 @@ You can implement page redirection through the [page router](../ui/ui-js-buildin - In the **index.js** file: ``` - import router from '@system.router'; + import router from '@ohos.router'; export default { onclick() { router.push({ - uri:'pages/second/second', // Specify the page to be redirected to. + url:'pages/second/second', // Specify the page to be redirected to. }) } } @@ -127,7 +127,7 @@ You can implement page redirection through the [page router](../ui/ui-js-buildin - In the **second.js** file: ``` - import router from '@system.router'; + import router from '@ohos.router'; export default { back() { -- GitLab