liyg 2 år sedan
förälder
incheckning
30bb8c151b
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/views/sale/components/offSiteTransportation/checkGPS.vue

+ 1 - 1
src/views/sale/components/offSiteTransportation/checkGPS.vue

@@ -494,7 +494,7 @@ export default {
     initLocation(){
       console.log("address:",this.address);
       if(this.address && this.address!=""){
-        this.axios.get("api/v1/otms/getLocationForAddress?address="+this.address).then((res)=>{
+        this.axios.get("/api/v1/otms/getLocationForAddress?address="+this.address).then((res)=>{
         console.log("res:",res);
         if(res.data.code=="0"){
           //画点