修改密码页面添加
This commit is contained in:
@@ -33,9 +33,9 @@ type DropdownOption =
|
||||
const options = computed(() => {
|
||||
const opts: DropdownOption[] = [
|
||||
{
|
||||
label: '个人中心',
|
||||
label: '修改密码',
|
||||
key: 'user-center',
|
||||
icon: SvgIconVNode({ icon: 'ph:user-circle', fontSize: 18 })
|
||||
icon: SvgIconVNode({ icon: 'boxicons:lock-open', fontSize: 18 })
|
||||
},
|
||||
{
|
||||
type: 'divider',
|
||||
@@ -67,8 +67,7 @@ function handleDropdown(key: DropdownKey) {
|
||||
if (key === 'logout') {
|
||||
logout();
|
||||
} else {
|
||||
// If your other options are jumps from other routes, they will be directly supported here
|
||||
// routerPushByKey(key);
|
||||
routerPushByKey('systemmanage_changepassword');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user