caodongdong il y a 1 an
Parent
commit
8d4b191a5c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/pages/webgl_rxdz/webgl_rxdz.vue

+ 1 - 1
src/pages/webgl_rxdz/webgl_rxdz.vue

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