style: cutMenu层级样式

This commit is contained in:
xingyu 2022-10-11 15:36:42 +08:00
parent 21b0e1fded
commit 0c5101256b
3 changed files with 3 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "ruoyi-vue-pro-vue3",
"version": "1.6.4.1801",
"version": "1.6.4.1811",
"description": "基于vue3、element-plus、typesScript、vite3",
"author": "xingyu",
"private": false,

View File

@ -208,7 +208,7 @@ const clear = () => {
<Icon icon="ep:setting" 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>

View File

@ -78,9 +78,6 @@ export default defineComponent({
watch(
() => collapse.value,
(collapse: boolean) => {
if (unref(fixedMenu)) {
return
}
if (!collapse) {
setTimeout(() => {
showTitle.value = !collapse
@ -144,7 +141,7 @@ export default defineComponent({
id={`${variables.namespace}-menu`}
class={[
prefixCls,
'relative bg-[var(--left-menu-bg-color)] top-1px z-99999',
'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)