From 79f8f0f695d683b3fa1fe02b0ebf6a483e8b5c23 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:32:05 +0000 Subject: [PATCH] update zh-cn/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/zh-cn/application-dev/quick-start/start-with-ets-low-code.md b/zh-cn/application-dev/quick-start/start-with-ets-low-code.md index 81e1cf99a9..ba29c5bbd2 100644 --- a/zh-cn/application-dev/quick-start/start-with-ets-low-code.md +++ b/zh-cn/application-dev/quick-start/start-with-ets-low-code.md @@ -90,7 +90,8 @@ OpenHarmony低代码开发方式具有丰富的UI界面编辑功能,通过可 - 在second.ets文件中,将本页面的message文本内容设置为“Hi there”,示例如下: - ``` + ```ts + // second.ets @Entry @Component struct Second { @@ -123,7 +124,8 @@ OpenHarmony低代码开发方式具有丰富的UI界面编辑功能,通过可 在第一个页面中,跳转按钮绑定onclick方法,点击按钮时跳转到第二页。需同时处理ets文件及visual文件。 - “**index.ets**”示例如下: - ``` + ```ts + // index.ets import router from '@ohos.router'; @Entry @@ -155,7 +157,8 @@ OpenHarmony低代码开发方式具有丰富的UI界面编辑功能,通过可 - “**second.ets**”示例如下: - ``` + ```ts + // second.ets import router from '@ohos.router'; @Entry -- GitLab