src/views/wel/land.vue
@@ -100,12 +100,12 @@ this.visible = true; }, // 表单提交 submit(row,loading) { submit(row,done) { var that = this; if (this.polygons.length == 0) { //没有面的数据 this.$refs.getMapData.isCheck = true; loading(); done(); } else { //如果有值,空间坐标转换 let pol = this.polygons; @@ -128,8 +128,9 @@ type: "success", message: "操作成功!" }); done(); }, error => { loading(); done(); window.console.log(error); }); },