把数组里的每一项用特殊符号一个一个的连接起来 for (let i = 0; i < this.imgArr.length; i++) { this.imgstr += this.imgArr[i].name + "&" }