From 12ea51aa251aa9289b20486700d17cd6dd2587de Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Tue, 18 Jan 2022 09:11:53 +0800 Subject: [PATCH] houhaoyu@huawei.com Signed-off-by: houhaoyu Change-Id: I470f445242fe39133a94edb78606bc760e75bccc --- compiler/test/ut/syntacticSugar/$$.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/test/ut/syntacticSugar/$$.ts b/compiler/test/ut/syntacticSugar/$$.ts index 22a231acb..ab6d9f761 100644 --- a/compiler/test/ut/syntacticSugar/$$.ts +++ b/compiler/test/ut/syntacticSugar/$$.ts @@ -38,7 +38,7 @@ struct HomeComponent { .fontSize(20) .bindPopup($$value5[0], {message: "This is $$ for Array"}) } - .bindPopup($$value4, {message: "This is $$ for regular"}) + .bindPopup($$this.value4, {message: "This is $$ for regular"}) .width(100) .height(20) Text(this.value2) @@ -95,7 +95,7 @@ class HomeComponent extends View { Row.create(); Row.width(20); Button.createWithChild(); - Button.bindPopup({ value: value4, changeEvent: newValue => { value4 = newValue; } }, { message: "This is $$ for regular" }); + Button.bindPopup({ value: this.value4, changeEvent: newValue => { this.value4 = newValue; } }, { message: "This is $$ for regular" }); Button.width(100); Button.height(20); Text.create(this.value1); -- Gitee