Lines Matching refs:arrayIndex
6230 @StorageLink('arrayIndex') arrayIndex: number = 0
6249 Button("++arrayIndex: " + this.arrayIndex).onClick(()=>{
6250 ++this.arrayIndex
6252 Button("--arrayIndex: " + this.arrayIndex).onClick(()=>{
6253 --this.arrayIndex
6255 Button("删除ComponentContent" + this.arrayIndex).onClick(()=>{
6256 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
6257 let componentContent = this.contentArray.splice(this.arrayIndex, 1)
6260 console.info("arrayIndex有误")
6263 Button("显示ComponentContent" + this.arrayIndex).onClick(()=>{
6264 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
6265 let componentContent = this.contentArray[this.arrayIndex]
6268 console.info("arrayIndex有误")
6271 Button("隐藏ComponentContent" + this.arrayIndex).onClick(()=>{
6272 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
6273 let componentContent = this.contentArray[this.arrayIndex]
6276 console.info("arrayIndex有误")