liyg преди 2 години
родител
ревизия
30bb8c151b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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"){
           //画点