|
@@ -1604,12 +1604,12 @@
|
|
|
this.changeSpaceColor(this.selectSpace.spaceId,1);//设置选中空间的颜色
|
|
|
},
|
|
|
//用户选择的布局id-需要切换到这个布局去
|
|
|
- userSelectPlot(layoutObj){
|
|
|
+ userSelectPlot(layoutObj,space=null){
|
|
|
if(!layoutObj){
|
|
|
console.warn("***userSelectPlot***数据错误")
|
|
|
return false
|
|
|
}
|
|
|
- let spaceId = this.selectSpace.spaceId;
|
|
|
+ let spaceId = space ? space.spaceId : this.selectSpace.spaceId;
|
|
|
console.warn("***userSelectPlot***",spaceId,layoutObj)
|
|
|
this.changeSingleLayout(spaceId,layoutObj);
|
|
|
this.updataLable(spaceId,layoutObj);
|