fix(search): fix default config

This commit is contained in:
qingwei.li 2017-02-19 12:30:49 +08:00 committed by cinwell.li
commit 2efd859f71
3 changed files with 5 additions and 4 deletions

View file

@ -91,6 +91,7 @@ function bindEvents () {
if (!value) {
$panel.classList.remove('show')
$panel.innerHTML = ''
return
}
const matchs = search(value)