@@ -144,6 +144,11 @@ function AddBuilding(props) {
// 周边设施 回调
function getMapScope(e) {
+ const coordinateValue = props.form.getFieldValue('coordinate')
+ if (!coordinateValue) {
+ openNotificationWithIcon('error', '请先选择项目坐标位置')
+ return
+ }
const coordinate = props.form.getFieldValue('coordinate').split(',')
const poiData = [].concat(POI_TYPES)
poiData.map(item => {