From f461046cdcd17de36bd0b1c0572eabc1d4a74738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Wed, 27 Apr 2022 09:39:04 +0000 Subject: [PATCH] update en/application-dev/quick-start/start-with-ets-low-code.md. Signed-off-by: @ge-yafang --- en/application-dev/quick-start/start-with-ets-low-code.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/application-dev/quick-start/start-with-ets-low-code.md b/en/application-dev/quick-start/start-with-ets-low-code.md index 7e0fd658f5..4ab8bbcafe 100644 --- a/en/application-dev/quick-start/start-with-ets-low-code.md +++ b/en/application-dev/quick-start/start-with-ets-low-code.md @@ -88,7 +88,7 @@ Add **Column**, **Text**, and **Button** components to the first page. A column 4. Add a **Text** component. - In the **second.ets** file, set the message text content to **Hi there**. The sample code is as follows: - ``` + ```ts @Entry @Component struct Second { @@ -121,7 +121,7 @@ You can implement page redirection through the page router, which finds the targ 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 .ets and .visual files. - In the **index.ets** file: - ``` + ```ts import router from '@ohos.router'; @Entry @@ -153,7 +153,7 @@ You can implement page redirection through the page router, which finds the targ - In the **second.ets** file: - ``` + ```ts import router from '@ohos.router'; @Entry -- GitLab