|
@@ -152,10 +152,11 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
- //默认显示第一个空间
|
|
|
+ //默认显示默认分区,无默认分区显示第一个分区
|
|
|
showDefaultSpace() {
|
|
|
if (this.spaceList.length) {
|
|
|
this.space = this.spaceList.find((item) => { return item.Code == "GeneralZone" }) ? ["GeneralZone"] : [this.spaceList[0].Code];
|
|
|
+ this.ObjectType = this.space[0];
|
|
|
// if (this.spaceList.length > 1 && this.cenoteObj.onlyRead) {
|
|
|
// this.showSpaceDot = true;
|
|
|
// }
|
|
@@ -242,7 +243,7 @@ export default {
|
|
|
},
|
|
|
//更改业务空间类型
|
|
|
changeSpace(val) {
|
|
|
- this.ObjectType = val[val.length - 1];
|
|
|
+ this.ObjectType = val[0];
|
|
|
this.floor = '';
|
|
|
this.buildingList = [];
|
|
|
this.building = '';
|