Commit 746c879b authored by 田翔's avatar 田翔

fix: 问题修复

parent 120bdec5
{
"name": "panda-xform",
"version": "4.5.9",
"description": "4.5.9 音频不允许从相册获取",
"version": "4.6.1",
"description": "4.6.1 获取站点列表修复",
"keywords": [
"panda-xform"
],
......
......@@ -83,7 +83,7 @@ const ComboBox = (props) => {
if (code === 0) {
if (Array.isArray(data)) {
setSite(data)
if (!presetValue) {
if (!value && !presetValue) {
onChange(data[0][isStoreID ? 'stationID' : 'stationName'])
}
} else {
......@@ -123,6 +123,9 @@ const ComboBox = (props) => {
message.error(msg)
}
}
if (sourceType === '站点') {
getStation()
}
}
}
......
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