Browse Source

style: modify menu z-index attribute

陈凯龙 3 years ago
parent
commit
0d7a7781ce
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/components/Menu/src/Menu.vue
  2. 1 1
      src/layout/components/useRenderLayout.tsx

+ 1 - 1
src/components/Menu/src/Menu.vue

@@ -73,7 +73,7 @@ export default defineComponent({
         id={prefixCls}
         class={[
           `${prefixCls} ${prefixCls}__${unref(menuMode)}`,
-          'h-[100%] overflow-hidden z-100 flex-col bg-[var(--left-menu-bg-color)]',
+          'h-[100%] overflow-hidden flex-col bg-[var(--left-menu-bg-color)]',
           {
             'w-[var(--left-menu-min-width)]': unref(collapse) && unref(layout) !== 'cutMenu',
             'w-[var(--left-menu-max-width)]': !unref(collapse) && unref(layout) !== 'cutMenu'

+ 1 - 1
src/layout/components/useRenderLayout.tsx

@@ -36,7 +36,7 @@ export const useRenderLayout = () => {
   const renderClassic = () => {
     return (
       <>
-        <div class={['absolute top-0 left-0 h-full', { '!fixed z-99': mobile.value }]}>
+        <div class={['absolute top-0 left-0 h-full', { '!fixed z-3000': mobile.value }]}>
           {logo.value ? (
             <Logo
               class={[