|
@@ -36,7 +36,7 @@
|
|
|
<!--滑块-->
|
|
|
<SliderComponent />
|
|
|
|
|
|
- <button class="logoutBtn" @click="logout">退出</button>
|
|
|
+ <!--<button class="logoutBtn" @click="logout">退出</button>-->
|
|
|
</div>
|
|
|
<!--最小化和关闭按钮-->
|
|
|
<div class="mini" @click="miniWindow">-</div>
|
|
@@ -81,13 +81,13 @@
|
|
|
|
|
|
methods: {
|
|
|
// 退出登录
|
|
|
- async logout() {
|
|
|
+ /*async logout() {
|
|
|
await reqLogout(this.user)
|
|
|
// 重置用户
|
|
|
this.$store.dispatch('resetUser')
|
|
|
// 去登录界面
|
|
|
this.$router.replace('/login')
|
|
|
- },
|
|
|
+ },*/
|
|
|
|
|
|
// 最小化窗口
|
|
|
miniWindow() {
|