|
@@ -120,7 +120,7 @@
|
|
|
!item.loginAdmin ? 'room-type-noe':''
|
|
|
)))"
|
|
|
@click="checkSubClick(item)"
|
|
|
- v-for="(item,index) in mapList" :key="index" v-if="item.type == 1"
|
|
|
+ v-for="(item,index) in mapList" :key="item.key" v-if="item.type == 1"
|
|
|
:style="'top:'+item.y+'px;left:'+item.x+'px;width:'+item.w+'px;height:'+item.h+'px;'">
|
|
|
<div class="newEvacuation-map-for-min-box">
|
|
|
<!--名称/实验室名称-->
|
|
@@ -144,7 +144,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="newEvacuation-map-for-box for-map-box"
|
|
|
- v-for="(item,indexOne) in mapList" :key="indexOne" v-if="item.type == 2"
|
|
|
+ v-for="(item,indexOne) in mapList" :key="item.key" v-if="item.type == 2"
|
|
|
:style="'top:'+item.y+'px;left:'+item.x+'px;width:'+item.w+'px;height:'+item.h+'px;'">
|
|
|
<div class="newEvacuation-map-for-min-box">
|
|
|
<!--灯-->
|
|
@@ -160,7 +160,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="newEvacuation-map-for-box for-map-box-two"
|
|
|
- v-for="(item,indexTwo) in mapList" :key="indexTwo" v-if="item.type == 3"
|
|
|
+ v-for="(item,indexTwo) in mapList" :key="item.key" v-if="item.type == 3"
|
|
|
:class="item.roomCheckType?'for-map-box-two-check':''"
|
|
|
:style="'top:'+item.y+'px;left:'+item.x+'px;width:'+item.w+'px;height:'+item.h+'px;'">
|
|
|
<div class="newEvacuation-map-for-min-box"></div>
|