|
@@ -1232,7 +1232,6 @@ wepy.page({
|
|
if (this.userControlSpace.isControlSpace === 1 || this.userControlSpace.isControlSpace === 2 || !this.isUserControlFromMap) {
|
|
if (this.userControlSpace.isControlSpace === 1 || this.userControlSpace.isControlSpace === 2 || !this.isUserControlFromMap) {
|
|
flag = false
|
|
flag = false
|
|
}
|
|
}
|
|
- console.log(flag, '----flag')
|
|
|
|
return flag
|
|
return flag
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -1314,7 +1313,7 @@ wepy.page({
|
|
} else {
|
|
} else {
|
|
// 从首页进入
|
|
// 从首页进入
|
|
await this.getCurrentSpace('home')
|
|
await this.getCurrentSpace('home')
|
|
- if (this.options.spaceId) {
|
|
|
|
|
|
+ if (this.options.spaceId !== '') {
|
|
await this.getData()
|
|
await this.getData()
|
|
}
|
|
}
|
|
let setAirtemp = this.$refs.airHandCard.airTemp
|
|
let setAirtemp = this.$refs.airHandCard.airTemp
|
|
@@ -1608,11 +1607,9 @@ wepy.page({
|
|
},
|
|
},
|
|
getSpaceInfo() {
|
|
getSpaceInfo() {
|
|
// 空间信息
|
|
// 空间信息
|
|
- if (!this.options.spaceId) return
|
|
|
|
const params = {
|
|
const params = {
|
|
criteria: {
|
|
criteria: {
|
|
spaceId: this.options.spaceId
|
|
spaceId: this.options.spaceId
|
|
- // userId: 391
|
|
|
|
},
|
|
},
|
|
pubname: config.brsgServer.pubname,
|
|
pubname: config.brsgServer.pubname,
|
|
openid: this.userInfo.userId
|
|
openid: this.userInfo.userId
|