diff --git a/demo/documentation/components/select/enUS/scroll-event.demo.md b/demo/documentation/components/select/enUS/scroll-event.demo.md index 2b4ce86bf..dfa279721 100644 --- a/demo/documentation/components/select/enUS/scroll-event.demo.md +++ b/demo/documentation/components/select/enUS/scroll-event.demo.md @@ -84,8 +84,3 @@ export default { } } ``` -```css -.n-select { - width: 180px; -} -``` \ No newline at end of file diff --git a/demo/documentation/components/select/zhCN/scroll-event.demo.md b/demo/documentation/components/select/zhCN/scroll-event.demo.md index a7e4ad043..b4b56ac6b 100644 --- a/demo/documentation/components/select/zhCN/scroll-event.demo.md +++ b/demo/documentation/components/select/zhCN/scroll-event.demo.md @@ -84,8 +84,3 @@ export default { } } ``` -```css -.n-select { - width: 180px; -} -``` \ No newline at end of file diff --git a/src/select/src/Select.vue b/src/select/src/Select.vue index 1416b3450..f0c39b4d8 100644 --- a/src/select/src/Select.vue +++ b/src/select/src/Select.vue @@ -686,8 +686,8 @@ export default { } }, // scroll events on menu - handleMenuScroll (e, scrollContainer, scrollContent) { - this.doScroll(e, scrollContainer, scrollContent) + handleMenuScroll (e) { + this.doScroll(e) }, // keyboard events handleKeyUpEnter (e) {