diff --git a/en/application-dev/quick-start/start-with-js.md b/en/application-dev/quick-start/start-with-js.md index b2ad7acd9e16e6e0f667facc4e5608860f0853e2..ea838f782d3284793c704c1ba4ad4362ac08ad62 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 () {