Sfoglia il codice sorgente

Select: fix style for inline popper (#9835)

杨奕 7 anni fa
parent
commit
89509b5fe3
2 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  1. 1 1
      packages/menu/src/menu.vue
  2. 0 4
      packages/theme-chalk/src/select.scss

+ 1 - 1
packages/menu/src/menu.vue

@@ -244,7 +244,7 @@
         }
 
         if (this.router) {
-          this.routeToItem(item, error => {
+          this.routeToItem(item, () => {
             this.activeIndex = oldActiveIndex;
           });
         }

+ 0 - 4
packages/theme-chalk/src/select.scss

@@ -141,8 +141,4 @@
       }
     }
   }
-
-  .el-select-dropdown__wrap {
-    margin-bottom: 0 !important;
-  }
 }