chore(select): change scroll demo & remove useless code

This commit is contained in:
07akioni 2020-12-09 00:17:45 +08:00
parent 2f767df423
commit 24f9f0cae6
3 changed files with 2 additions and 12 deletions

View File

@ -84,8 +84,3 @@ export default {
} }
} }
``` ```
```css
.n-select {
width: 180px;
}
```

View File

@ -84,8 +84,3 @@ export default {
} }
} }
``` ```
```css
.n-select {
width: 180px;
}
```

View File

@ -686,8 +686,8 @@ export default {
} }
}, },
// scroll events on menu // scroll events on menu
handleMenuScroll (e, scrollContainer, scrollContent) { handleMenuScroll (e) {
this.doScroll(e, scrollContainer, scrollContent) this.doScroll(e)
}, },
// keyboard events // keyboard events
handleKeyUpEnter (e) { handleKeyUpEnter (e) {