bhd-components 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/es2017/bhdSelect/index.js +1 -1
- package/esm/bhdSelect/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -263,7 +263,7 @@ const BhdSelect = (props)=>{
|
|
|
263
263
|
}
|
|
264
264
|
//表格中使用下拉列表,定义下拉列表宽度
|
|
265
265
|
if (!props.popupMatchSelectWidth && useType === 'table') {
|
|
266
|
-
setSelectWidth(bhdSelectRef.current.parentNode.getBoundingClientRect().width -
|
|
266
|
+
setSelectWidth(bhdSelectRef.current.parentNode.getBoundingClientRect().width - 4);
|
|
267
267
|
}
|
|
268
268
|
props.onMouseEnter && props.onMouseEnter(e);
|
|
269
269
|
},
|
package/esm/bhdSelect/index.js
CHANGED
|
@@ -267,7 +267,7 @@ var BhdSelect = function(props) {
|
|
|
267
267
|
}
|
|
268
268
|
//表格中使用下拉列表,定义下拉列表宽度
|
|
269
269
|
if (!props.popupMatchSelectWidth && useType === "table") {
|
|
270
|
-
setSelectWidth(bhdSelectRef.current.parentNode.getBoundingClientRect().width -
|
|
270
|
+
setSelectWidth(bhdSelectRef.current.parentNode.getBoundingClientRect().width - 4);
|
|
271
271
|
}
|
|
272
272
|
props.onMouseEnter && props.onMouseEnter(e);
|
|
273
273
|
},
|