zjs_project 1 year ago
parent
commit
fc27cb6517
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/webgl_rxdz/webgl_rxdz.vue

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

@@ -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);