|
|
@@ -24,7 +24,7 @@ |
|
|
|
<img src="../../assets/images/app/user_icon_02.png" width="25" alt=""> |
|
|
|
</template> |
|
|
|
</van-cell> |
|
|
|
<van-cell title="退出登录" is-link center :border="false"> |
|
|
|
<van-cell title="退出登录" is-link center :border="false" @click = "logOut"> |
|
|
|
<template slot="icon"> |
|
|
|
<img src="../../assets/images/app/user_icon_03.png" width="25" alt=""> |
|
|
|
</template> |
|
|
@@ -49,7 +49,12 @@ |
|
|
|
methods: { |
|
|
|
goBack(){ |
|
|
|
history.go(-1) |
|
|
|
} |
|
|
|
}, |
|
|
|
logOut() { |
|
|
|
this.$store.dispatch('LogOut').then(() => { |
|
|
|
location.href = '/app/index' |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
</script> |
|
|
|