mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 21:59:12 +08:00
优化代码
This commit is contained in:
parent
a356e2074d
commit
073256cc61
@ -266,8 +266,8 @@
|
||||
}
|
||||
|
||||
|
||||
let _newAttrs = Object.keys(_attrs).sort(function (a, b) {
|
||||
return _attrs[b].seq - _attrs[a].seq;
|
||||
let _newAttrs = _attrs.sort(function (a, b) {
|
||||
return a.seq - b.seq ;
|
||||
});
|
||||
|
||||
$that.addAttendanceClassesInfo.attrs = _newAttrs;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user