|
|
@ -11,19 +11,19 @@ |
|
|
|
|
|
|
|
|
|
|
|
<template #overlay> |
|
|
|
<template #overlay> |
|
|
|
<Menu @click="handleMenuClick"> |
|
|
|
<Menu @click="handleMenuClick"> |
|
|
|
<MenuItem key="doc" :text="t('layout.header.dropdownItemDoc')" icon="ion:document-text-outline" v-if="getShowDoc" /> |
|
|
|
<MenuItem itemKey="doc" :text="t('layout.header.dropdownItemDoc')" icon="ion:document-text-outline" v-if="getShowDoc" /> |
|
|
|
<MenuDivider v-if="getShowDoc" /> |
|
|
|
<MenuDivider v-if="getShowDoc" /> |
|
|
|
<MenuItem key="account" :text="t('layout.header.dropdownItemSwitchAccount')" icon="ant-design:setting-outlined" /> |
|
|
|
<MenuItem itemKey="account" :text="t('layout.header.dropdownItemSwitchAccount')" icon="ant-design:setting-outlined" /> |
|
|
|
<MenuItem key="password" :text="t('layout.header.dropdownItemSwitchPassword')" icon="ant-design:edit-outlined" /> |
|
|
|
<MenuItem itemKey="password" :text="t('layout.header.dropdownItemSwitchPassword')" icon="ant-design:edit-outlined" /> |
|
|
|
<MenuItem key="depart" :text="t('layout.header.dropdownItemSwitchDepart')" icon="ant-design:cluster-outlined" /> |
|
|
|
<MenuItem itemKey="depart" :text="t('layout.header.dropdownItemSwitchDepart')" icon="ant-design:cluster-outlined" /> |
|
|
|
<MenuItem key="cache" :text="t('layout.header.dropdownItemRefreshCache')" icon="ion:sync-outline" /> |
|
|
|
<MenuItem itemKey="cache" :text="t('layout.header.dropdownItemRefreshCache')" icon="ion:sync-outline" /> |
|
|
|
<!-- <MenuItem |
|
|
|
<!-- <MenuItem |
|
|
|
v-if="getUseLockPage" |
|
|
|
v-if="getUseLockPage" |
|
|
|
key="lock" |
|
|
|
itemKey="lock" |
|
|
|
:text="t('layout.header.tooltipLock')" |
|
|
|
:text="t('layout.header.tooltipLock')" |
|
|
|
icon="ion:lock-closed-outline" |
|
|
|
icon="ion:lock-closed-outline" |
|
|
|
/>--> |
|
|
|
/>--> |
|
|
|
<MenuItem key="logout" :text="t('layout.header.dropdownItemLoginOut')" icon="ion:power-outline" /> |
|
|
|
<MenuItem itemKey="logout" :text="t('layout.header.dropdownItemLoginOut')" icon="ion:power-outline" /> |
|
|
|
</Menu> |
|
|
|
</Menu> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</Dropdown> |
|
|
|
</Dropdown> |
|
|
|