Commit 87996aef authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 6fa97acf
......@@ -29,7 +29,7 @@ async function init() {
for (let i=0;i<arr.length;i++)
arrange(arr[i])
// console.log(arr[0].arr[0])
manage()
console.log(all)
// console.log(files)
......@@ -37,6 +37,17 @@ async function init() {
// com = JSON.parse(com)
}
function manage()
{
for (let i=0;i<all.length;i++)
{
let data=all[i].data
data= _.uniqBy(data, 'time');
all[i].data=data
}
}
async function arrange(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment