<template>
	<view class="check-map-list">
		<view class="item"
			v-for="(item, index) in checkMap.list" 
			:key="index">
			<tm-check-map-list :item="item"></tm-check-map-list>
		</view>
		<text class="null" v-if="checkMap.list.length === 0">暂无数据</text>
	</view>
</template>

<script>
	import { mapState } from "vuex";
	
	export default {
		computed: {
			...mapState({
				checkMap: state => state.creatingSituations.checkMap,
			})
		},
	}
</script>

<style lang="less">
	.check-map-list {
		padding: 25rpx;
		text-align: center;
	}
	.null {
		color: #999;
	}
</style>
