Browse Source

[完善]解决isGis报错

master
邵佳豪 3 years ago
parent
commit
a39ad9211c
  1. 2
      proxy.config.json
  2. 2
      src/app/ui/collection-tools-building/collection-tools.component.ts

2
proxy.config.json

@ -1,6 +1,6 @@
{
"/api": {
"target": "http://39.106.78.171:8008/",
"target": "http://183.194.244.232:8088",
"secure": false,
"changeOrigin": true
}

2
src/app/ui/collection-tools-building/collection-tools.component.ts

@ -137,6 +137,8 @@ export class CollectionToolsComponent2 implements OnInit {
this.isImgNumCss = false
}
}
isGis:boolean = false
//适应缩放
adaptZoom(){
this.canvas.zoomFit()

Loading…
Cancel
Save