mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
search keyword sort
This commit is contained in:
parent
4a61592ff6
commit
7d95c56fcf
@ -11,7 +11,9 @@ $(function () {
|
||||
var Select = antd.Select;
|
||||
var Option = Select.Option;
|
||||
// 获取搜索数据
|
||||
var searchData = window.ANT_COMPONENTS;
|
||||
var searchData = window.ANT_COMPONENTS.sort(function(a, b){
|
||||
return a.title.localeCompare(b.title);
|
||||
});
|
||||
|
||||
var AutoComplete = React.createClass({
|
||||
getOptions() {
|
||||
|
Loading…
Reference in New Issue
Block a user