liyg 2 лет назад
Родитель
Сommit
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"){
           //画点