|
@@ -1267,7 +1267,7 @@
|
|
|
space = element;
|
|
|
let newWidthValue = newWidth > element.spaceWidthMax ? element.spaceWidthMax : element.spaceWidthMin
|
|
|
if(isZoomIn){ // 放大
|
|
|
- if(newWidth>element.spaceWidthMax){
|
|
|
+ if(newWidth>element.spaceWidthMax){ // 关联空间放大时已经是最大,则变化值为0
|
|
|
newValue = 0
|
|
|
break;
|
|
|
}
|
|
@@ -1285,7 +1285,6 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- console.log("排查右边空间3", newValue);
|
|
|
if(!result){
|
|
|
this.$message.warning(`关联空间[${ space && space.spaceName || ''}]达到极限值`);
|
|
|
}
|
|
@@ -2113,6 +2112,10 @@
|
|
|
// return
|
|
|
// }
|
|
|
// 隐藏变化空间的家具模型,空间动画结束后显示
|
|
|
+ if(moveValue<= 0){ // 无需变化
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
this.changeLayoutModelState();
|
|
|
console.log("关联空间XXXXX", this.leftSpaces, this.rightSpaces)
|
|
|
for (let index = 0; index < this.leftSpaces.length; index++) {
|