zjs_project 1 年間 前
コミット
fc27cb6517
1 ファイル変更1 行追加1 行削除
  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);