zhaozp 3 years ago
parent
commit
af91985417
2 changed files with 4 additions and 4 deletions
  1. 1 1
      index.html
  2. 3 3
      src/views/base/punch.vue

+ 1 - 1
index.html

@@ -11,5 +11,5 @@
   </body>
   <script src="ebeiapp://cordova.js"></script>
   <script src="ebeiapp://EbeiPlugins.js"></script>
-  <script src="https://webapi.amap.com/maps?v=1.4.15&key=e8a1c4d772a95eee75b2161133e35555&plugin=AMap.CircleEditor,AMap.PolyEditor"></script>
+  <script src="https://webapi.amap.com/maps?v=1.4.15&key=73f14a1c454d2bc6358609ca99885496&plugin=AMap.CircleEditor,AMap.PolyEditor"></script>
 </html>

+ 3 - 3
src/views/base/punch.vue

@@ -118,7 +118,7 @@ export default {
         } else {
           this.$store.commit('hideLoading')
           clearInterval(this.interOne)
-          Notify({ type: 'warning', message: res.message })
+          Notify({ type: 'warning', message: res.data })
         }
       })
     },
@@ -133,7 +133,7 @@ export default {
           }
         } else {
           this.$store.commit('hideLoading')
-          Notify({ type: 'warning', message: res.message })
+          Notify({ type: 'warning', message: res.data })
         }
       })
     },
@@ -160,7 +160,7 @@ export default {
         }
         else {
           this.$store.commit('hideLoading')
-          Notify({ type: 'warning', message: res.message })
+          Notify({ type: 'warning', message: res.data })
         }
       })
     },