Skip to content

Commit

Permalink
fix: 修复cutMenu收起时
Browse files Browse the repository at this point in the history
  • Loading branch information
kailong321200875 committed Oct 11, 2022
1 parent 32d2408 commit 993af6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Setting/src/Setting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const clear = () => {
<Icon icon="ant-design:setting-outlined" color="#fff" />
</div>

<ElDrawer v-model="drawer" direction="rtl" size="350px">
<ElDrawer v-model="drawer" direction="rtl" size="350px" :z-index="4000">
<template #header>
<span class="text-16px font-700">{{ t('setting.projectSetting') }}</span>
</template>
Expand Down
5 changes: 1 addition & 4 deletions src/components/TabMenu/src/TabMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ export default defineComponent({
watch(
() => collapse.value,
(collapse: boolean) => {
if (unref(fixedMenu)) {
return
}
if (!collapse) {
setTimeout(() => {
showTitle.value = !collapse
Expand Down Expand Up @@ -144,7 +141,7 @@ export default defineComponent({
id={`${variables.namespace}-menu`}
class={[
prefixCls,
'relative bg-[var(--left-menu-bg-color)] top-1px z-1000',
'relative bg-[var(--left-menu-bg-color)] top-1px z-3000',
{
'w-[var(--tab-menu-max-width)]': !unref(collapse),
'w-[var(--tab-menu-min-width)]': unref(collapse)
Expand Down

0 comments on commit 993af6b

Please sign in to comment.