|
@@ -523,7 +523,7 @@ page {
|
|
>
|
|
>
|
|
<!-- <map-home v-if="userInfo&& userInfo.userId" -->
|
|
<!-- <map-home v-if="userInfo&& userInfo.userId" -->
|
|
<map-home @mapChangeSpaceInfo="mapChangeSpaceInfo"
|
|
<map-home @mapChangeSpaceInfo="mapChangeSpaceInfo"
|
|
- :space="userControlSpace"
|
|
|
|
|
|
+ :space="toMapSpace"
|
|
></map-home>
|
|
></map-home>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
@@ -1306,9 +1306,10 @@ wepy.page({
|
|
|
|
|
|
if (this.routeParams.from === 'FindIt') {
|
|
if (this.routeParams.from === 'FindIt') {
|
|
this.getCurrentSpace('FindIt')
|
|
this.getCurrentSpace('FindIt')
|
|
- this.isUserControlFromMap = this.routeParams.isUserControl
|
|
|
|
|
|
+ this.toMapSpace = JSON.parse(JSON.stringify(this.routeParams))
|
|
this.options.spaceId = this.routeParams.spaceId
|
|
this.options.spaceId = this.routeParams.spaceId
|
|
this.moveToBottom = true // 来自找一找, 页面在底部
|
|
this.moveToBottom = true // 来自找一找, 页面在底部
|
|
|
|
+ this.toRoom()
|
|
this.getData() // 获取数据
|
|
this.getData() // 获取数据
|
|
} else {
|
|
} else {
|
|
// 从首页进入
|
|
// 从首页进入
|
|
@@ -1359,6 +1360,7 @@ wepy.page({
|
|
return checkUserControl().then(res => {
|
|
return checkUserControl().then(res => {
|
|
// isControlSpace 1-租户下无可控;2-租户有可控;3-用户有可控 4-当前空间为常驻空间
|
|
// isControlSpace 1-租户下无可控;2-租户有可控;3-用户有可控 4-当前空间为常驻空间
|
|
this.userControlSpace = res
|
|
this.userControlSpace = res
|
|
|
|
+ this.toMapSpace = JSON.parse(JSON.stringify(res))
|
|
// 从首页进入 才给空间重新赋值
|
|
// 从首页进入 才给空间重新赋值
|
|
if (from === 'home') {
|
|
if (from === 'home') {
|
|
this.options.spaceId = res.spaceId || ''
|
|
this.options.spaceId = res.spaceId || ''
|