From ead649fa10fd6b2ed3a8baf93bba7adf1e05247b Mon Sep 17 00:00:00 2001 From: zhang_hanyong Date: Mon, 15 Apr 2024 19:38:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhang_hanyong --- entry/src/main/ets/pages/basicTestFeatureAbilityPage.ets | 1 + hvigor/hvigor-config.json5 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/entry/src/main/ets/pages/basicTestFeatureAbilityPage.ets b/entry/src/main/ets/pages/basicTestFeatureAbilityPage.ets index cc787cc..8ee3161 100644 --- a/entry/src/main/ets/pages/basicTestFeatureAbilityPage.ets +++ b/entry/src/main/ets/pages/basicTestFeatureAbilityPage.ets @@ -17,6 +17,7 @@ import {ImageKnifeOption,ImageKnifeComponent} from '@ohos/libraryimageknife' @Entry @Component struct BasicTestFeatureAbilityPage { + //监听 @Watch("watchPathChange") @State filePath: string = "查看featureAbility路径"; watchPathChange() { diff --git a/hvigor/hvigor-config.json5 b/hvigor/hvigor-config.json5 index 122677b..0b5647c 100644 --- a/hvigor/hvigor-config.json5 +++ b/hvigor/hvigor-config.json5 @@ -1,6 +1,6 @@ { - "hvigorVersion": "3.0.9", + "hvigorVersion": "4.0.2", "dependencies": { - "@ohos/hvigor-ohos-plugin": "3.0.9" + "@ohos/hvigor-ohos-plugin": "4.0.2" } } \ No newline at end of file