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