var tempqueryFavo = this.data.queryFavo;this
tempqueryFavo[index].deleted = true;spa
var bookscarr=[];console
console.log(tempqueryFavo);query
for (var i = 0; i<tempqueryFavo.length;i++){co
if (tempqueryFavo[i].deleted==true){join
var bookid = tempqueryFavo[i].id;let
console.log(bookid + "--!!!!---" + tempqueryFavo[index].bookid)push
bookscarr.push(bookid)data
}index
}
that.setData({
queryFavo: tempqueryFavo,
booksc: bookscarr.join(",")
})
console.log(that.data.booksc)