diff --git a/src/components/Home/SearchInput.vue b/src/components/Home/SearchInput.vue index a601ed5..4fc1ae4 100644 --- a/src/components/Home/SearchInput.vue +++ b/src/components/Home/SearchInput.vue @@ -17,6 +17,7 @@
{ + that.gethistorySearch(); + }) } else { Vue.prototype.$notify.error({ title: '错误', @@ -149,6 +154,7 @@ export default { }); }, handleClose(tag){ + var that=this; axios({ method: 'post', // 请求的地址 @@ -165,6 +171,9 @@ export default { type: 'success', offset: 50 }); + setTimeout(()=>{ + that.gethistorySearch(); + }) }else{ Vue.prototype.$notify.error({ title: '错误', diff --git a/src/components/Paper/ArticleDetail.vue b/src/components/Paper/ArticleDetail.vue index c7e410a..e5b061a 100644 --- a/src/components/Paper/ArticleDetail.vue +++ b/src/components/Paper/ArticleDetail.vue @@ -3,7 +3,7 @@