|
@@ -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"){
|
|
|
//画点
|