Lines Matching refs:arrayIndex
48 @StorageLink('arrayIndex') arrayIndex: number = 0
67 Button("++arrayIndex: " + this.arrayIndex).onClick(()=>{
68 ++this.arrayIndex
70 Button("--arrayIndex: " + this.arrayIndex).onClick(()=>{
71 --this.arrayIndex
73 Button("删除ComponentContent" + this.arrayIndex).onClick(()=>{
74 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
75 let componentContent = this.contentArray.splice(this.arrayIndex, 1)
78 console.info("arrayIndex有误")
81 Button("显示ComponentContent" + this.arrayIndex).onClick(()=>{
82 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
83 let componentContent = this.contentArray[this.arrayIndex]
86 console.info("arrayIndex有误")
89 Button("隐藏ComponentContent" + this.arrayIndex).onClick(()=>{
90 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
91 let componentContent = this.contentArray[this.arrayIndex]
94 console.info("arrayIndex有误")