Browse Source

[完善]总平面图标注素材名称隐藏

tangshan
邵佳豪 4 years ago
parent
commit
63a05f390d
  1. 7
      src/app/ui/collection-tools-building/collection-tools.component.ts
  2. 5
      src/app/ui/collection-tools-plan/collection-tools.component.ts
  3. 3
      tsconfig.app.json

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

@ -1225,13 +1225,6 @@ export class CollectionToolsBuildingComponent implements OnInit {
}) })
} }
//拖拽tree
drop(e) {
// console.log(1111,e)
}
drop2(e) {
// console.log(222,e)
}
//创建建筑 //创建建筑
createBuilding() { createBuilding() {

5
src/app/ui/collection-tools-plan/collection-tools.component.ts

@ -704,6 +704,11 @@ export class CollectionToolsPlanComponent implements OnInit {
if (this.router.url.indexOf("gis") == -1 && this.router.url.indexOf("createplanonlinefive") == -1) { if (this.router.url.indexOf("gis") == -1 && this.router.url.indexOf("createplanonlinefive") == -1) {
this.getSitePlan() this.getSitePlan()
} }
//监听数据变化后
this.canvas.on('canvasDataChanged', () => {
// 收到数据表示共享数据发生变化
this.renovateTreeData(false)
});
} }
copyAssetData: any //存储用于复制的素材 copyAssetData: any //存储用于复制的素材

3
tsconfig.app.json

@ -2,7 +2,8 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "./out-tsc/app", "outDir": "./out-tsc/app",
"types": ["swiper"] "types": ["swiper"],
"experimentalDecorators": true, //
}, },
"files": [ "files": [
"src/main.ts", "src/main.ts",

Loading…
Cancel
Save