|
@@ -166,7 +166,7 @@
|
|
|
mounted() {
|
|
|
console.log("***onLoad-webgl_rxdz***", this.$route.query)
|
|
|
var that = this;
|
|
|
- this.houseId = this.$route.query ? this.$route.query.houseId : '100296';//
|
|
|
+ this.houseId = this.$route.query && this.$route.query.houseId ? this.$route.query.houseId : '100296';//
|
|
|
this.childLayout = '0';//4-测试户型
|
|
|
let unit = window.screen.width / 750;//单位rpm 对应 px 的值
|
|
|
that.canvasHeight = window.screen.height - (200 * unit) + (20 * unit);
|