Lines Matching refs:myId

124   @Link myId: number;           // @Link不可以在@ComponentV2中使用,编译报错
136 Text(`${this.myId}`)
141 this.myId++;
151 @State @Watch('idChange') myId: number = 1; // @Watch不可以在@ComponentV2中使用,编译报错
154 console.info(`id changed ${this.myId}`);
166 myId: this.myId
232 @Trace myId: number; // 有观测能力
237 this.myId = id || 0;
264 Text(`info1 id: ${this.info1.myId}`) // myId被@Trace装饰,可观察变化
268 this.info1.myId += 1;
272 Text(`info2 id: ${this.info2.myId}`)
276 this.info2.myId += 1;
280 …Text(`messageInfo id: ${this.messageInfo.myId}`) // 继承自@ObservedV2的Class被V1的装饰器装饰时会出现crash,运行时出错,需…
284 this.messageInfo.myId += 1;
306 @Track myId: number; // 无观测能力,只能防止因其他属性改变而导致的连带刷新
310 this.myId = id || 0;
336 Text(`info1 id: ${this.info1.myId}`)
340 this.info1.myId += 1;
344 Text(`info2 id: ${this.info2.myId}`)
348 this.info2.myId += 1;
353 Text(`messageInfo id: ${this.messageInfo.myId}`)
357 this.messageInfo.myId += 1;
472 myId: number;
475 constructor(myId?: number, name?: string) {
476 this.myId = myId || 0;
508 Text(`info id:${this.info.myId}`) // 显示 info:myId
512 this.info.myId++;
565 myId: number;
568 constructor(myId?: number, name?: string) {
569 this.myId = myId || 0;
599 Text(`info id:${this.info.myId}`) // 显示info:myId
603 this.info.myId++;
657 myId: number;
660 constructor(myId?: number, name?: string) {
661 this.myId = myId || 0;
691 Text(`info id:${this.info.myId}`) // 显示info:myId
695 this.info.myId++;
749 myId: number;
752 constructor(myId?: number, name?: string) {
753 this.myId = myId || 0;
783 Text(`info id:${this.info.myId}`) // 显示 info:myId
787 this.info.myId++;
853 myId: number;
856 constructor(myId?: number, name?: string) {
857 this.myId = myId || 0;
888 Text(`ObjectLink info info.myId:${this.info.myId}`) // 经过@ObjectLink拆解两次之后,观测到变化
891 this.info.myId++;
910 …Text(`ObjectLink MessageInfo info.myId:${this.messageInfo.info.myId}`) // 经过@ObjectLink拆解之后,依旧观测不…
913 this.messageInfo.info.myId++;
959 @Trace myId: number;
962 constructor(myId?: number, name?: string) {
963 this.myId = myId || 0;
1025 …Text(`messageInfoNested myId:${this.messageInfoNested.messageInfo.info.myId}`) // 被@Trace修饰,无论嵌套…
1028 this.messageInfoNested.messageInfo.info.myId++;