数据监听

Signed-off-by: xi_leilei <xi_leilei2@h-partners.com>
This commit is contained in:
xi_leilei 2024-04-15 20:28:29 +08:00
parent ab7dd919f3
commit 176ce6ea55
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ import {ImageKnifeOption,ImageKnifeComponent} from '@ohos/libraryimageknife'
@Entry @Entry
@Component @Component
struct BasicTestFeatureAbilityPage { struct BasicTestFeatureAbilityPage {
//数据监听
@Watch("watchPathChange") @State filePath: string = "查看featureAbility路径"; @Watch("watchPathChange") @State filePath: string = "查看featureAbility路径";
watchPathChange() { watchPathChange() {