彭宇 %!s(int64=3) %!d(string=hai) anos
pai
achega
bf035537ce
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 => {