From 830013950856f63c1439cfb6e54927bc470d16ac Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 13 Aug 2021 14:00:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=96=E9=83=A8=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E5=B8=A6=E5=AF=86=E7=A0=81=E5=B5=8C=E5=9C=A8iframe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/link/index.vue | 5 ++++- frontend/src/views/link/pwd/index.vue | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/link/index.vue b/frontend/src/views/link/index.vue index e88b771fa8..85a6502241 100644 --- a/frontend/src/views/link/index.vue +++ b/frontend/src/views/link/index.vue @@ -1,7 +1,7 @@ @@ -49,6 +49,9 @@ export default { this.showError() }) }, + refreshToken() { + this.loadInit() + }, // 显示无效链接 showError() { diff --git a/frontend/src/views/link/pwd/index.vue b/frontend/src/views/link/pwd/index.vue index f1e01a4673..47c4b2769b 100644 --- a/frontend/src/views/link/pwd/index.vue +++ b/frontend/src/views/link/pwd/index.vue @@ -96,7 +96,8 @@ export default { if (!res.data) { this.msg = this.$t('pblink.pwd_error') } else { - window.location.reload() + // window.location.reload() + this.$emit('fresh-token') } }) })