更新脚本:微调typehead脚本方法,增加显示全部items

This commit is contained in:
Argo-Surface 2018-11-22 16:30:46 +08:00
parent c22bf4fa30
commit e93518f5dc
1 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,10 @@
url: "api/Category",
callback: function (result) {
$('#txt_dict_cate').typeahead({
source: result
source: result,
showHintOnFocus: 'all',
fitToElement: true,
items: 'all'
});
}
});