From c351720c2e7bb165af93c2a608b556f08df9025b Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Thu, 25 Jan 2024 16:56:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/HomeView.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 875d732..2cdc603 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -130,8 +130,9 @@ }); window.addEventListener('resize', this.handleResize); - if(this.title=='PYTN'){ - this.$router.replace({path: '/PytnUsdt'}); + const title = sessionStorage.getItem('title'); + if (!title&&this.title != 'PYTN') { + this.$router.replace({ path: '/PytnUsdt' }); } }, destroyed() {