1234567891011121314151617181920212223242526272829303132 |
- <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>
- <view class="null" v-if="checkMap.list.length === 0">暂无数据</view>
- </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;
- }
- .null {
- text-align: center;
- color: #999;
- }
- </style>
|