提交 6d683c80 编写于 作者: A afc163

categories order

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