|
@@ -109,7 +109,7 @@ export default {
|
|
|
// this.addPolygon();
|
|
|
ShapeUpload(formdata).then((res) => {
|
|
|
if (res.success) {
|
|
|
- this.model.xzmj = 62.1;
|
|
|
+ this.model.xzmj = (res.data.area / 1000000).toFixed(2);
|
|
|
viewer.entities.removeAll();
|
|
|
this.fileDataID = res.data.id;
|
|
|
let geoms = res.data.geom
|