From f3520136b2ae44ce6452fab6ff655350193e78bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=AF=91=E5=BF=83?= Date: Wed, 2 Jul 2025 12:27:17 +0000 Subject: [PATCH 1/2] update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张译心 --- en/application-dev/ui/js-framework-syntax-js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/ui/js-framework-syntax-js.md b/en/application-dev/ui/js-framework-syntax-js.md index 427f4cbc427..8b90d41306a 100644 --- a/en/application-dev/ui/js-framework-syntax-js.md +++ b/en/application-dev/ui/js-framework-syntax-js.md @@ -127,7 +127,7 @@ The ES6 syntax is supported. - Event methods | Name | Parameter | Description | | -------- | -------- | -------- | - | $watch | data: string, callback: string \| Function | Listens for attribute changes. If the value of the data attribute changes, the bound event is triggered. For details, see [Monitoring Data Changes by \$watch](../reference/apis-arkui/arkui-js/js-components-custom-props.md).
Usage:
this.$watch('key', callback): triggers the callback event by listening for changes in the value of the **key** property. | + | $watch | data: string, callback: string \| Function | Listens for attribute changes. If the value of the data attribute changes, the bound event is triggered. For details, see [Monitoring Data Changes by \$watch](../reference/apis-arkui/arkui-js/js-components-custom-props.md#monitoring-data-changes-by-watch).
Usage:
this.$watch('key', callback): triggers the callback event by listening for changes in the value of the **key** property. | - Page methods | Name | Parameter | Description | -- Gitee From 5e9299b746539cb6cd1570cecff53b1c00ec1f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=AF=91=E5=BF=83?= Date: Wed, 2 Jul 2025 12:34:17 +0000 Subject: [PATCH 2/2] update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张译心 --- en/application-dev/web/web-debugging-with-devtools.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/web/web-debugging-with-devtools.md b/en/application-dev/web/web-debugging-with-devtools.md index e3af1cabac2..e662b67d45f 100644 --- a/en/application-dev/web/web-debugging-with-devtools.md +++ b/en/application-dev/web/web-debugging-with-devtools.md @@ -314,7 +314,7 @@ This script will delete all port forwarding. If other tools (such as DevEco Stud * Ensure that the step of [Enabling Web Debugging for Application Code](#enabling-web-debugging-for-application-code) is performed. * Ensure that the application uses the **Web** component to load the web page. -### What should I do if port forwarding fails +### What should I do if port forwarding fails? **Symptom** The configured forwarding task is not displayed after the following command is executed. -- Gitee