let arr = [
] {id:1,text:""},
{id:2,text:""},
{id:3,text:""}
];
let items = []; })
$("- sharpadd") .click (function () {
for (var i = 0polii items.push(arr[i]);
}
/ / if written in this way, all the data of arr will be added directly. Hopefully, one click to add an id in arr