From eaffa1ace3cd98b946b536f3bbe139fb8a85925b Mon Sep 17 00:00:00 2001 From: Qing Date: Fri, 7 Jul 2023 21:39:51 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E7=94=A8=E6=88=B7=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Home/SearchInput.vue | 11 +- src/components/Paper/ArticleDetail.vue | 2 +- src/components/Project/ProjectDetail.vue | 82 ++++++++-- src/components/Project/ProjectList.vue | 2 +- src/components/User/UserArticles.vue | 65 +++++++- src/components/User/UserInfo.vue | 73 +++++---- src/components/User/UserInfoPage.vue | 189 +++++++++++++++++++++-- src/main.js | 3 +- vue.config.js | 39 ++++- 9 files changed, 399 insertions(+), 67 deletions(-) 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 @@