|
@@ -155,10 +155,10 @@ export default {
|
|
|
// 如果 changeDataFlag为true(不是在 分布图弹窗组件中的 楼层组件),设置cookie,vuex
|
|
|
if (this.changeDataFlag) {
|
|
|
this.$cookie.set('floorNow', currentFloor.code || '', 3)
|
|
|
- this.$cookie.set('floorMapId', currentFloor.gcname, 3)
|
|
|
+ this.$cookie.set('floorMapId', currentFloor.gname, 3)
|
|
|
this.$cookie.set('currentFloorId', currentFloor.seq, 3)
|
|
|
this.floorId = this.$cookie.get('floorNow') || currentFloor.code
|
|
|
- this.floorMapIdName = this.$cookie.get('floorMapId') || currentFloor.gcname
|
|
|
+ this.floorMapIdName = this.$cookie.get('floorMapId') || currentFloor.gname
|
|
|
store.commit('SETCURRENTFLOOR', currentFloor)
|
|
|
}
|
|
|
this.$emit('emitFloor', currentFloor)
|