编辑器上传附件组件优化

feat/task1-c-wallet
Devil 2021-02-01 16:53:07 +08:00
parent 03281fd2e1
commit 353832f20d
3 changed files with 6 additions and 6 deletions

View File

@ -669,7 +669,7 @@
});
if(arr.length > 0)
{
arr = arr.sort();
arr = arr.sort().filter(a=>a);
for(var i in arr)
{
$(arr[i]['e']).find('.select-count').text(parseInt(i)+1);
@ -857,7 +857,7 @@
}
}
}
return list.length ? list.sort() : list;
return list.length ? list.sort().filter(a=>a) : list;
}
};

View File

@ -853,7 +853,7 @@
});
if(arr.length > 0)
{
arr = arr.sort();
arr = arr.sort().filter(a=>a);
for(var i in arr)
{
$(arr[i]['e']).find('.select-count').text(parseInt(i)+1);
@ -1034,7 +1034,7 @@
}
}
}
return list.length ? list.sort() : list;
return list.length ? list.sort().filter(a=>a) : list;
}
};
})();

View File

@ -229,7 +229,7 @@
});
if(arr.length > 0)
{
arr = arr.sort();
arr = arr.sort().filter(a=>a);
for(var i in arr)
{
$(arr[i]['e']).find('.select-count').text(parseInt(i)+1);
@ -381,7 +381,7 @@
}
}
return list.length ? list.sort() : list;
return list.length ? list.sort().filter(a=>a) : list;
}
};