|
@ -60,8 +60,8 @@ export default { |
|
|
}, |
|
|
}, |
|
|
hadnelClicklogOut() { |
|
|
hadnelClicklogOut() { |
|
|
Dialog.confirm({ |
|
|
Dialog.confirm({ |
|
|
title: '标题', |
|
|
title: '退出账号', |
|
|
message: '弹窗内容', |
|
|
message: '确定退出登录吗?', |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
localStorage.removeItem('token') |
|
|
localStorage.removeItem('token') |
|
|
this.$router.replace('/') |
|
|
this.$router.replace('/') |
|
|