Browse Source

测量工具

彭宇 2 years ago
parent
commit
bf035537ce
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/supermap.vue

+ 2 - 2
src/components/supermap.vue

@@ -161,7 +161,7 @@
         });
         if (!isSideBySide) {  //只有一个地图
           if (this.codes.length != 1) {
-            alert("请输入一个地图code!");
+            modal.msgError("请输入一个地图code!");
             return
           }
           getSuperMap(this.codes).then(resp => {
@@ -218,7 +218,7 @@
           })
         } else {  //卷帘地图
           if (this.codes.length != 2) {
-            alert("请输入两个地图code!");
+            modal.msgError("请输入两个地图code!");
             return
           }
           getSuperMap(this.codes).then(resp => {