mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
categories order
This commit is contained in:
parent
0963f9f608
commit
6d683c8058
@ -45,6 +45,9 @@ module.exports = function(nico) {
|
||||
}
|
||||
return item.meta.category;
|
||||
}));
|
||||
categories = categories.sort(function(a, b) {
|
||||
return a.length - b.length;
|
||||
});
|
||||
return categories;
|
||||
},
|
||||
find_demo_in_component: function(pages, directory) {
|
||||
|
Loading…
Reference in New Issue
Block a user