|
@@ -1306,6 +1306,7 @@ wepy.page({
|
|
|
|
|
|
if (this.routeParams.from === 'FindIt') {
|
|
|
this.getCurrentSpace('FindIt')
|
|
|
+ this.isUserControlFromMap = this.routeParams.isUserControl
|
|
|
this.options.spaceId = this.routeParams.spaceId
|
|
|
this.moveToBottom = true // 来自找一找, 页面在底部
|
|
|
this.getData() // 获取数据
|
|
@@ -1598,8 +1599,7 @@ wepy.page({
|
|
|
},
|
|
|
// 地图数据切换空间
|
|
|
mapChangeSpaceInfo(obj) {
|
|
|
- console.log(obj, '----来自地图')
|
|
|
- // isCompanyControl: true 为常驻工区
|
|
|
+ // isUserControl-Boolean 用户空间是否可以控
|
|
|
const mapItem = JSON.parse(JSON.stringify(obj))
|
|
|
this.options.spaceId = mapItem.spaceId
|
|
|
this.isUserControlFromMap = mapItem.isUserControl
|