zjs_project 1 năm trước cách đây
mục cha
commit
ca096722dc
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/pages/webgl_rxdz_look/webgl_rxdz_look.vue

+ 3 - 1
src/pages/webgl_rxdz_look/webgl_rxdz_look.vue

@@ -550,7 +550,9 @@
 						element.wallMoveValue = "[0,0,0,0]"
                         this.spaceList.push(element);
                         this.wallIds.push(element.wallId);
-						this.wallList.push(JSON.parse(element.wallList));
+						if(element.wallList){
+							this.wallList.push(JSON.parse(element.wallList));
+						}
 						if(element.isSelected){ // 默认选中空间
 						    this.curSpaceObj = element;
 						}