mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-05 08:57:10 +08:00
refactor: 优化账号管理
This commit is contained in:
@@ -50,9 +50,12 @@
|
||||
<icon-down />
|
||||
</a-row>
|
||||
<template #content>
|
||||
<a-doption @click="toUser">
|
||||
<a-doption @click="router.push('/setting/profile')">
|
||||
<span>账号管理</span>
|
||||
</a-doption>
|
||||
<a-doption @click="router.push('/setting/security')">
|
||||
<span>安全设置</span>
|
||||
</a-doption>
|
||||
<a-divider :margin="0" />
|
||||
<a-doption @click="logout">
|
||||
<span>退出登录</span>
|
||||
@@ -80,11 +83,6 @@ const router = useRouter()
|
||||
const userStore = useUserStore()
|
||||
const SettingDrawerRef = ref<InstanceType<typeof SettingDrawer>>()
|
||||
|
||||
// 跳转基本信息
|
||||
const toUser = () => {
|
||||
router.push('/setting/profile')
|
||||
}
|
||||
|
||||
// 退出登录
|
||||
const logout = () => {
|
||||
Modal.warning({
|
||||
|
||||
Reference in New Issue
Block a user