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

fix: 代码修改

parent 5b953cac
{
"name": "panda-xform",
"version": "4.2.8",
"description": "4.2.8 样式初始化",
"version": "4.3.0",
"description": "4.3.0 弹出层修改",
"keywords": [
"panda-xform"
],
......
......@@ -62,7 +62,7 @@ const UserSelect = (props) => {
onFocus={selectFocus}
onChange={selectChange}
options={pullDown}
getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
// getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
>
</Select>
)
......
......@@ -60,7 +60,7 @@ const DateTime = (props) => {
{...timeOtions}
style={{ width: '100%' }}
locale={locale}
getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
// getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
/>
);
......
......@@ -45,7 +45,7 @@ const Time = (props) => {
locale={locale}
disabled={disabled}
placeholder={!disabled ? placeholder : ''}
getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
// getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
minuteStep={5}
format={'HH:mm'}
/>
......
......@@ -147,20 +147,6 @@ const ComboBox = (props) => {
<TagPack color={color} text={label} onClose={onClose} />
</span>
)
// return (
// <Tag
// color={color}
// onMouseDown={onPreventMouseDown}
// closable={closable}
// onClose={onClose}
// style={{
// marginRight: 3,
// }}
// >
// {label}
// </Tag>
// );
}
const isTagRender = color ? { tagRender } : {}
......@@ -177,7 +163,7 @@ const ComboBox = (props) => {
placeholder={disabled ? null : placeholder}
onChange={handleChange}
allowClear
getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
// getPopupContainer={(targterNode) => targterNode.parentElement || document.body}
{...isTagRender}
>
{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