代码调整

This commit is contained in:
joylink_cuiweidong 2021-09-06 11:24:01 +08:00
parent f40fab2d47
commit ed7bc52ced
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<template>
<div class="menus" :style="{width: width + 'px'}">
<menu-bar v-show="isShowBar" ref="menuBar" :selected="selected" />
<menu-deplot-button ref="menuDeplotButton" />
<menu-station-stand ref="menuStationStand" :selected="selected" />
<menu-switch ref="menuSwitch" :selected="selected" />
<menu-signal ref="menuSignal" :selected="selected" />
@ -15,6 +16,7 @@
<script>
import { mapGetters } from 'vuex';
import MenuDeplotButton from './menuDeplotButton';
import MenuSignal from './menuSignal';
import MenuStationStand from './menuStationStand';
import MenuSwitch from './menuSwitch';
@ -30,6 +32,7 @@ export default {
name: 'Menus',
components: {
MenuBar,
MenuDeplotButton,
MenuSignal,
MenuSwitch,
MenuSection,

View File

@ -24,7 +24,7 @@ export default {
},
computed: {
isShowBtn() {
return this.$store.state.training.prdType == '09';
return this.$store.state.training.prdType == '05';
}
},
beforeDestroy() {