|
@@ -150,7 +150,7 @@
|
|
|
console.log("***onLoad-webgl_rxdz***", this.$route.query)
|
|
|
var that = this;
|
|
|
this.houseId = this.$store.state.houseId || '';
|
|
|
- this.childLayout = '4';//4-测试户型
|
|
|
+ this.childLayout = this.$store.state.childLayout || 0;//4-测试户型
|
|
|
let unit = window.screen.width / 750;//单位rpm 对应 px 的值
|
|
|
that.canvasHeight = window.screen.height - (200 * unit) + (20 * unit);
|
|
|
|
|
@@ -952,7 +952,7 @@
|
|
|
|
|
|
let changeWidth = Math.abs(newWidth - curSpace.spaceWidth)
|
|
|
let changeHeight = Math.abs(newHeight - curSpace.spaceHeight)
|
|
|
-
|
|
|
+
|
|
|
console.log("变化的尺寸", changeWidth, changeHeight, data, curSpace.spaceWidth, curSpace.spaceHeight);
|
|
|
|
|
|
if(curSpace.quadrant == 1){
|