Commit e112ed28 authored by 田翔's avatar 田翔

fix: 处理站点优化

parent 01b97a89
{
"name": "panda-xform",
"version": "5.9.19",
"description": "5.9.19 增加参数",
"version": "5.9.20",
"description": "5.9.20 只读修改",
"keywords": [
"panda-xform"
],
......
......@@ -12,6 +12,7 @@ const ComboBox = (props) => {
const {
placeholder,
disabled,
formDisabled,
sourceType,
options,
dictionary,
......@@ -120,7 +121,7 @@ const ComboBox = (props) => {
if (Array.isArray(data)) {
let values = data.map(v => ({ stationID: v.stationID + '', stationName: v.stationName }))
setSite(values)
if (!value && !presetValue && !disabled) {
if (!value && !presetValue && !formDisabled) {
onChange(values[0][isStoreID ? 'stationID' : 'stationName'])
}
} else {
......
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