Commit fe5c9ea5 by zhangquan

bug修复

1 parent ffbacab0
...@@ -639,7 +639,7 @@ export default { ...@@ -639,7 +639,7 @@ export default {
this.$apis.parkingSpace.getRadarListApi(params).then(res => { this.$apis.parkingSpace.getRadarListApi(params).then(res => {
if (res?.list?.length) { if (res?.list?.length) {
const _target = this.basicFormData.find(item => item.name == 'radarId') const _target = this.basicFormData.find(item => item.name == 'radarId')
_target.optionList = [radarObj, ...res.list] _target.optionList = radarObj ? [radarObj, ...res.list] : res.list
} }
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!