zjs_project 3 tygodni temu
rodzic
commit
3789137831
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      src/pages/webgl_rxdz_test/webgl_rxdz_test.vue

+ 4 - 1
src/pages/webgl_rxdz_test/webgl_rxdz_test.vue

@@ -850,7 +850,10 @@
             		that.showLables = false;//隐藏lable
             		that.scene.remove(...deleList);
             	}
-            	
+            	if(this.selectSpace){
+            		this.changeSpaceColor(this.selectSpace.spaceId,2);//取消上一个空间的颜色
+            	    this.selectSpace = null;
+            	}
                 
                 this.curHouseObj = _curHouseObj;
                 setStorage('curHouseObj', this.curHouseObj);