调整登录后页面控制

master
Lee-1203 2022-03-06 16:26:03 +08:00
parent b8a6e8d322
commit 914da97308
1 changed files with 9 additions and 2 deletions

View File

@ -64,7 +64,7 @@
</li>
</ul>
<div class="feedback-btn">退出登</div>
<div class="feedback-btn" @click="outLogin()">退</div>
<tabbar :current="4"></tabbar>
</div>
</template>
@ -166,6 +166,13 @@
});
},
// 退
outLogin(){
localStorage.clear();
this.$router.push('/login');
},
//
eventScrollTop() {
let scrollTop =