多选框思路
if (this.unlandfile.length) {
var index = this.unlandfile.findIndex(item1 => imagepath.path == item1.path)
if (index != -1) {
this.unlandfile.splice(index, 1)
} else {
this.unlandfile.push(imagepath)
}
} else {
this.unlandfile.push(imagepath)
}