This commit is contained in:
guoranred 2020-09-15 21:35:17 +08:00
commit d23cfef147

View File

@ -3,6 +3,7 @@
<a-icon type="search" class="search-icon" @click="enterSearchMode"/> <a-icon type="search" class="search-icon" @click="enterSearchMode"/>
<a-auto-complete <a-auto-complete
ref="input" ref="input"
:getPopupContainer="e => {return e.parentNode || document.body}"
:dataSource="dataSource" :dataSource="dataSource"
:class="['search-input', searchMode ? 'enter' : 'leave']" :class="['search-input', searchMode ? 'enter' : 'leave']"
placeholder="站内搜索" placeholder="站内搜索"