diff --git a/src/app/navigation/navigation.component.html b/src/app/navigation/navigation.component.html
index 8d01999..985c8e0 100644
--- a/src/app/navigation/navigation.component.html
+++ b/src/app/navigation/navigation.component.html
@@ -9,8 +9,8 @@
+
diff --git a/src/app/ui/collection-tools/collection-tools.component.scss b/src/app/ui/collection-tools/collection-tools.component.scss
index 79c996d..8e5d717 100644
--- a/src/app/ui/collection-tools/collection-tools.component.scss
+++ b/src/app/ui/collection-tools/collection-tools.component.scss
@@ -4,7 +4,7 @@
}
.content {
width: 100%;
- height: 93%;
+ height: 100%;
overflow: hidden;
box-sizing: border-box;
padding: 3px;
diff --git a/src/app/ui/collection-tools/collection-tools.component.ts b/src/app/ui/collection-tools/collection-tools.component.ts
index 69cb08c..0bcd0c8 100644
--- a/src/app/ui/collection-tools/collection-tools.component.ts
+++ b/src/app/ui/collection-tools/collection-tools.component.ts
@@ -426,8 +426,6 @@ export class CollectionToolsComponent implements OnInit {
this.getAllLibrary()
this.getAllBuildings()
- this.getSitePlan()
-
let that = this
window.setTimeout(()=>{
document.getElementById("functionalDomainContent").oncontextmenu = function (event) {
@@ -439,9 +437,8 @@ export class CollectionToolsComponent implements OnInit {
}
-
-
ngAfterViewInit(): void {
+ this.getSitePlan()
// 监听canvas组件选中素材事件
this.canvas.on("select",obj=>{
//选中素材属性注入函数
diff --git a/src/app/ui/fire-fighting-device/fire-fighting-device.component.scss b/src/app/ui/fire-fighting-device/fire-fighting-device.component.scss
index 1a71206..1c380c2 100644
--- a/src/app/ui/fire-fighting-device/fire-fighting-device.component.scss
+++ b/src/app/ui/fire-fighting-device/fire-fighting-device.component.scss
@@ -1,6 +1,6 @@
.content {
width: 100%;
- height: 90%;
+ height: 100%;
padding: 10px;
overflow-y: auto;
.contentBox {
diff --git a/src/app/ui/function-division/function-division.component.scss b/src/app/ui/function-division/function-division.component.scss
index e74bcf1..0fa0a04 100644
--- a/src/app/ui/function-division/function-division.component.scss
+++ b/src/app/ui/function-division/function-division.component.scss
@@ -1,6 +1,6 @@
.content {
width: 100%;
- height: 90%;
+ height: 100%;
overflow-y: auto;
padding: 10px 0 0 10px;
display: flex;
diff --git a/src/app/ui/key-site/key-site.component.scss b/src/app/ui/key-site/key-site.component.scss
index 3fbf2eb..08d9639 100644
--- a/src/app/ui/key-site/key-site.component.scss
+++ b/src/app/ui/key-site/key-site.component.scss
@@ -1,6 +1,6 @@
.content {
width: 100%;
- height: 90%;
+ height: 100%;
padding: 10px;
overflow-y: auto;
.contentBox{
diff --git a/src/app/ui/realistic-picture/realistic-picture.component.scss b/src/app/ui/realistic-picture/realistic-picture.component.scss
index cfbc003..075375c 100644
--- a/src/app/ui/realistic-picture/realistic-picture.component.scss
+++ b/src/app/ui/realistic-picture/realistic-picture.component.scss
@@ -1,7 +1,7 @@
.content {
margin: 0 0 0 10px;
width: 100%;
- height: 90%;
+ height: 100%;
overflow-y: auto;
display: flex;
.leftBox {
diff --git a/src/app/ui/uploading-cad/uploading-cad.component.html b/src/app/ui/uploading-cad/uploading-cad.component.html
index 3deec43..c312b3b 100644
--- a/src/app/ui/uploading-cad/uploading-cad.component.html
+++ b/src/app/ui/uploading-cad/uploading-cad.component.html
@@ -18,7 +18,7 @@
-
+
diff --git a/src/app/working-area/working-area.component.ts b/src/app/working-area/working-area.component.ts
index 55bd311..1e6b9d7 100644
--- a/src/app/working-area/working-area.component.ts
+++ b/src/app/working-area/working-area.component.ts
@@ -501,8 +501,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
this.setPaintMode(PaintMode.endPaint);
this.resetCanvas();
this.destroyBackgroundImage();
- if (this.canvasData.selectStorey.imageUrl === null
- ||this.canvasData.selectStorey.imageUrl === undefined) {
+ if (!this.canvasData.selectStorey.imageUrl) {
return;
}
diff --git a/src/styles.scss b/src/styles.scss
index 5c78b2e..88ed855 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -4,6 +4,7 @@ html,body{
height: 100%;
margin:0 auto;
padding:0;
+ overflow: hidden;
}
ul,ol,dl,li,dt,dd,p,form,input,h1,h2,h3,h4,h5,h6,section,article,aside,header,footer,nav,figure,time,mark,main,canvas{
margin:0;