未验证 提交 be52e6c8 编写于 作者: 葛亚芳 提交者: Gitee

update en/application-dev/quick-start/start-with-js-low-code.md.

Signed-off-by: N@ge-yafang <geyafang@huawei.com>
上级 134d9e51
...@@ -105,7 +105,7 @@ You can implement page redirection through the [page router](../ui/ui-js-buildin ...@@ -105,7 +105,7 @@ You can implement page redirection through the [page router](../ui/ui-js-buildin
In the files of the first page, bind the **onclick** method to the button so that clicking the button redirects the user to the second page. This operation needs to be completed in both .js and .visual files. In the files of the first page, bind the **onclick** method to the button so that clicking the button redirects the user to the second page. This operation needs to be completed in both .js and .visual files.
- In the **index.js** file: - In the **index.js** file:
``` ```js
import router from '@ohos.router'; import router from '@ohos.router';
export default { export default {
...@@ -128,7 +128,7 @@ You can implement page redirection through the [page router](../ui/ui-js-buildin ...@@ -128,7 +128,7 @@ You can implement page redirection through the [page router](../ui/ui-js-buildin
- In the **second.js** file: - In the **second.js** file:
``` ```js
import router from '@ohos.router'; import router from '@ohos.router';
export default { export default {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册