Commit 247753b3 authored by 田翔's avatar 田翔

fix: 代码修改

parent 5b953cac
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "4.2.8", "version": "4.3.0",
"description": "4.2.8 样式初始化", "description": "4.3.0 弹出层修改",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -62,7 +62,7 @@ const UserSelect = (props) => { ...@@ -62,7 +62,7 @@ const UserSelect = (props) => {
onFocus={selectFocus} onFocus={selectFocus}
onChange={selectChange} onChange={selectChange}
options={pullDown} options={pullDown}
getPopupContainer={(targterNode) => targterNode.parentElement || document.body} // getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
> >
</Select> </Select>
) )
......
...@@ -60,7 +60,7 @@ const DateTime = (props) => { ...@@ -60,7 +60,7 @@ const DateTime = (props) => {
{...timeOtions} {...timeOtions}
style={{ width: '100%' }} style={{ width: '100%' }}
locale={locale} locale={locale}
getPopupContainer={(targterNode) => targterNode.parentElement || document.body} // getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
/> />
); );
......
...@@ -45,7 +45,7 @@ const Time = (props) => { ...@@ -45,7 +45,7 @@ const Time = (props) => {
locale={locale} locale={locale}
disabled={disabled} disabled={disabled}
placeholder={!disabled ? placeholder : ''} placeholder={!disabled ? placeholder : ''}
getPopupContainer={(targterNode) => targterNode.parentElement || document.body} // getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
minuteStep={5} minuteStep={5}
format={'HH:mm'} format={'HH:mm'}
/> />
......
...@@ -147,20 +147,6 @@ const ComboBox = (props) => { ...@@ -147,20 +147,6 @@ const ComboBox = (props) => {
<TagPack color={color} text={label} onClose={onClose} /> <TagPack color={color} text={label} onClose={onClose} />
</span> </span>
) )
// return (
// <Tag
// color={color}
// onMouseDown={onPreventMouseDown}
// closable={closable}
// onClose={onClose}
// style={{
// marginRight: 3,
// }}
// >
// {label}
// </Tag>
// );
} }
const isTagRender = color ? { tagRender } : {} const isTagRender = color ? { tagRender } : {}
...@@ -177,7 +163,7 @@ const ComboBox = (props) => { ...@@ -177,7 +163,7 @@ const ComboBox = (props) => {
placeholder={disabled ? null : placeholder} placeholder={disabled ? null : placeholder}
onChange={handleChange} onChange={handleChange}
allowClear allowClear
getPopupContainer={(targterNode) => targterNode.parentElement || document.body} // getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
{...isTagRender} {...isTagRender}
> >
{children} {children}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment