From 16300729bca4b33f025bd07ff34c0d4cfece2bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Wed, 8 Jun 2022 11:40:51 +0000 Subject: [PATCH] fixed 4ccf5e6 from https://gitee.com/ge-yafang/docs/pulls/5155 update en/application-dev/quick-start/start-with-ets-low-code.md. Signed-off-by: @ge-yafang --- .../quick-start/start-with-ets-low-code.md | 9 ++++++--- 1 file changed, 6 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 a2e41c66e9..0792cfa388 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 @@ -94,7 +94,8 @@ 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 + // second.ets @Entry @Component struct Second { @@ -130,7 +131,8 @@ You can implement page redirection through the page router, which finds the targ - In the **index.ets** file: - ``` + ```ts + // index.ets import router from '@ohos.router'; @Entry @@ -163,7 +165,8 @@ You can implement page redirection through the page router, which finds the targ - In the **second.ets** file: - ``` + ```ts + // second.ets import router from '@ohos.router'; @Entry -- GitLab