Commit d8e765c8 by niuxiaolin

latest

parent 31cc275c
......@@ -41,7 +41,7 @@ import { Observable } from 'rxjs';
@Injectable()
export class DefaultService {
public basePath = 'http://localhost:8081';
public basePath = 'https://localhost';
// public basePath = 'http://192.168.19.199:8081';
// public basePath = environment.prod? 'http://localhost:8081':'http://192.168.19.199:8081';
public defaultHeaders = new HttpHeaders();
......
......@@ -168,9 +168,9 @@ export class MainComponent implements OnInit {
this.http.get<any>(this.s.basePath + "/mapLable/list").subscribe(res => {
// this.maplabes = res.data;
//加载labels
setTimeout(() => {
this.loadLabels(res.data);
}, 5000);
// setTimeout(() => {
// this.loadLabels(res.data);
// }, 5000);
});
this.http.get<any>(this.s.basePath + "/scetion/list").subscribe(res => {
this.allsecs = res.data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment