修改big
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</el-popover>
|
||||
<div class="seach-btn dis-f al-item jus-x" @click="handleKeyword(pitchValue['keyword'])">
|
||||
<div class="seach-btn dis-f al-item jus-x" @click="pitchValue['keyword'] ? handleKeyword(pitchValue['keyword']) : ''">
|
||||
<img src="../../assets/homeImage/seachImg.svg" class="img" alt="">
|
||||
搜索
|
||||
</div>
|
||||
@@ -267,9 +267,7 @@ const rentInput = () => clearingAmountState = false
|
||||
|
||||
// 点击历史搜索和热门推荐
|
||||
const handleKeyword = value => {
|
||||
|
||||
router.push(`/seachPage?keyword=${value}`)
|
||||
|
||||
if (historyArr.value.indexOf(value) == -1 && value) {
|
||||
historyArr.value.unshift(value)
|
||||
storingHistory()
|
||||
|
||||
Reference in New Issue
Block a user