解决搜索问题
This commit is contained in:
parent
321dd05d97
commit
d385062f5f
@ -8,6 +8,6 @@ footer
|
|||||||
| Copyright © 2020 WangYi.
|
| Copyright © 2020 WangYi.
|
||||||
br
|
br
|
||||||
| All Rights Reserved.
|
| All Rights Reserved.
|
||||||
a(href='http://www.beian.miit.gov.cn', target='_blank', rel='external nofollow', style='color: #ccc')
|
a(href='http://www.beian.miit.gov.cn', target='_blank', rel='external nofollow', style='color: #ccc; margin-left: 5px')
|
||||||
| 浙ICP备14013313号-2
|
| 浙ICP备14013313号-2
|
||||||
</template>
|
</template>
|
||||||
|
@ -116,7 +116,7 @@ export default {
|
|||||||
}, 3000)
|
}, 3000)
|
||||||
},
|
},
|
||||||
search () {
|
search () {
|
||||||
if (this.searchVal !== '') { this.$router.push({ path: 'search?q=' + this.searchVal }) }
|
if (this.searchVal !== '') { this.$router.push({ path: '/search?q=' + this.searchVal }) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user