Browse Source

地图插件接口返回参数调整

zhouy 2 years ago
parent
commit
6668098400

+ 1 - 1
uas-office-web/uas-mobile/src/components/common/map/MapSearch.jsx

@@ -39,7 +39,7 @@ export default class MapSearch extends Component {
         onSearchComplete: (results) => {
           if (results) {
             that.setState({
-              searchList: results.Ir,
+              searchList: results.Vr,
             })
           } else {
             that.setState({

+ 1 - 1
uas-office-web/wxuasapproval/src/components/map/MapSearch.jsx

@@ -38,7 +38,7 @@
          onSearchComplete: (results) => {
            if (results) {
              that.setState({
-               searchList: results.Ir,
+               searchList: results.Vr,
              })
            } else {
              that.setState({