|
@@ -200,17 +200,23 @@ export default {
|
|
|
},
|
|
|
watch: {},
|
|
|
mounted() {
|
|
|
+ console.log(window.screen.height)
|
|
|
if (window.screen.height == '768') {
|
|
|
this.canvasWidth = this.$refs.graphy.offsetWidth
|
|
|
this.canvasHeight = this.$refs.graphy.offsetHeight - 100
|
|
|
+ console.log(this.canvasWidth)
|
|
|
+ console.log(this.canvasHeight)
|
|
|
} else {
|
|
|
this.canvasWidth = this.$refs.graphy.offsetWidth
|
|
|
- this.canvasHeight = this.$refs.graphy.offsetHeight
|
|
|
+ this.canvasHeight = 900 + 'px'
|
|
|
+ console.log(this.canvasWidth)
|
|
|
+ console.log(this.canvasHeight)
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
this.urlMsg = {
|
|
|
- categoryId: this.$cookie.get('categoryId') || 'LCGN',
|
|
|
+ // categoryId: this.$cookie.get('categoryId') || 'LCGN',
|
|
|
+ categoryId: 'XFXT',
|
|
|
ProjectID: this.plazaId,
|
|
|
BuildingID: '1',
|
|
|
FloorID: this.$cookie.get('floorMapId') || 'f1',
|