rt-sim-training-client/src/views/newMap/mapsystemNew/plugin/delayBox.vue

36 lines
624 B
Vue
Raw Normal View History

<template>
<div v-if="delayShow">
<div v-for="item in stationList">
<delay-info v-if="item.delayInfo" :delay-info-list="item.delayInfo" position="item.points" />
</div>
</div>
</template>
<script>
import DelayInfo from './delayInfo';
export default {
name: 'DelayBox',
components: {
DelayInfo
},
data() {
return {
delayShow: false,
stationList: []
};
},
watch: {
'$store.state.map.stationList': function(val) {
this.stationList = val;
}
},
methods: {
}
};
</script>
<style scoped>
</style>