公寓跳转优化

This commit is contained in:
2023-08-11 11:41:58 +08:00
parent e938cb645a
commit 48301d5bf4
2 changed files with 14 additions and 8 deletions

View File

@@ -273,6 +273,7 @@ const rentInput = () => clearingAmountState = false
// 点击历史搜索和热门推荐
const handleKeyword = value => {
sessionStorage.setItem('houseingPageType', '')
router.push(`/seachPage?keyword=${value}`)
if (historyArr.value.indexOf(value) == -1 && value) {
historyArr.value.unshift(value)