CN-1479 fix: 搜索组件添加showHint自动完成提示
This commit is contained in:
@@ -824,7 +824,7 @@ export default {
|
||||
if (q && q.indexOf('+') > -1) {
|
||||
q = q.replace('+', '')
|
||||
}
|
||||
if (q && q.indexOf('%') > 0 && (str1 !== '%20' || str1 === '%25')) {
|
||||
if (q && q.indexOf('%') > 0 && (str1 === '%20' || str1 === '%25')) {
|
||||
q = decodeURI(q)
|
||||
}
|
||||
this.initSearch(q)
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
:default-mode="defaultMode"
|
||||
:full-text="true"
|
||||
:show-list="showList"
|
||||
showHint
|
||||
:class="{'advanced-search--show-list': showList}"
|
||||
@search="search"
|
||||
></advanced-search>
|
||||
|
||||
Reference in New Issue
Block a user