diff --git a/components/Footer.vue b/components/Footer.vue index 63dd272..ab88b0c 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -8,6 +8,6 @@ footer | Copyright © 2020 WangYi. br | 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 diff --git a/components/LeftContent.vue b/components/LeftContent.vue index fe4453e..c10fbf9 100644 --- a/components/LeftContent.vue +++ b/components/LeftContent.vue @@ -116,7 +116,7 @@ export default { }, 3000) }, search () { - if (this.searchVal !== '') { this.$router.push({ path: 'search?q=' + this.searchVal }) } + if (this.searchVal !== '') { this.$router.push({ path: '/search?q=' + this.searchVal }) } } } }