From 4e9fec9c9a2bfa5750e486e5a457e5756b0f8848 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 9 Mar 2018 12:20:21 +0800 Subject: [PATCH] update vc-xxx --- components/dropdown/src/Dropdown.vue | 2 +- components/modal/demo/index.vue | 4 ++-- components/time-picker/demo/index.vue | 4 ++-- components/vc-pagination/Pagination.vue | 12 +++++++----- components/vc-select/Select.vue | 1 + contributors.md | 2 +- 6 files changed, 14 insertions(+), 11 deletions(-) diff --git a/components/dropdown/src/Dropdown.vue b/components/dropdown/src/Dropdown.vue index 4c3bddd86..61f99503b 100644 --- a/components/dropdown/src/Dropdown.vue +++ b/components/dropdown/src/Dropdown.vue @@ -89,7 +89,7 @@ export default { const overlayNode = this.getPopupDomNode() const rootNode = this.$el if (rootNode && overlayNode && rootNode.offsetWidth > overlayNode.offsetWidth) { - overlayNode.style.width = `${rootNode.offsetWidth}px` + overlayNode.style.minWidth = `${rootNode.offsetWidth}px` if (this.$refs.trigger && this.$refs.trigger._component && this.$refs.trigger._component.alignInstance) { diff --git a/components/modal/demo/index.vue b/components/modal/demo/index.vue index 5dafd70f2..a7895bdaa 100644 --- a/components/modal/demo/index.vue +++ b/components/modal/demo/index.vue @@ -35,7 +35,7 @@ export default { title: 'Modal', render () { return ( -