mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-12-15 14:50:29 +08:00
feat: add user settings page
This commit is contained in:
@@ -99,6 +99,10 @@ export function useNav() {
|
||||
emitter.emit("openPanel");
|
||||
}
|
||||
|
||||
function handleOpenUserSettings() {
|
||||
router.push({ name: "UserInfoManage" });
|
||||
}
|
||||
|
||||
function toggleSideBar() {
|
||||
pureApp.toggleSideBar();
|
||||
}
|
||||
@@ -160,6 +164,7 @@ export function useNav() {
|
||||
avatarsStyle,
|
||||
tooltipEffect,
|
||||
getDropdownItemStyle,
|
||||
getDropdownItemClass
|
||||
getDropdownItemClass,
|
||||
handleOpenUserSettings
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user