|
@@ -94,12 +94,12 @@ const changeRole = () => {
|
|
|
// 退出登录
|
|
|
const userStore = userLocaleStore()
|
|
|
const handleLogout = async () => {
|
|
|
- try {
|
|
|
+ // try {
|
|
|
await userStore.userLogout()
|
|
|
router.push({ path: '/login' })
|
|
|
- } catch (error) {
|
|
|
- console.log(error, 'error')
|
|
|
- }
|
|
|
+ // } catch (error) {
|
|
|
+ // console.log(error, 'error')
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
const items = ref([
|