Commit dae8b742 authored by 田翔's avatar 田翔

fix: 关联选择支持清空

parent dc8e3869
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "4.7.0", "version": "4.7.1",
"description": "4.7.0 设备选择只读形态", "description": "4.7.1 关联选择支持清空",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -61,6 +61,7 @@ const RelevanceSelect = (props) => { ...@@ -61,6 +61,7 @@ const RelevanceSelect = (props) => {
onChange={selectChange} onChange={selectChange}
disabled={disabled} disabled={disabled}
placeholder={!disabled ? placeholder : null} placeholder={!disabled ? placeholder : null}
allowClear
> >
{ {
options.map((v, i) => <Option value={v.nodeValue} key={i}>{v.nodeValue}</Option>) options.map((v, i) => <Option value={v.nodeValue} key={i}>{v.nodeValue}</Option>)
......
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