博客全文检索施工记录

This commit is contained in:
结发受长生
2019-07-09 13:09:17 +08:00
parent 699e807bf1
commit 3439b8d34b
15 changed files with 195 additions and 11 deletions
+1 -4
View File
@@ -166,10 +166,7 @@ new Vue({
return
}
this.fullTextSearch.pageNum = 0
fullTextSearchTimer = setTimeout(() => {
this.fullTextSearchItems.splice(0, this.fullTextSearchItems.length)
this.loadSearchResult()
}, 500)
fullTextSearchTimer = setTimeout(this.loadSearchResult.bind(this), 500)
}
},
mounted () {