提交 353832f2 编写于 作者: D Devil

编辑器上传附件组件优化

上级 03281fd2
......@@ -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;
}
};
......
......@@ -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;
}
};
})();
......@@ -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;
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册