keep-alive
This commit is contained in:
@@ -6,13 +6,16 @@
|
||||
/>
|
||||
<div class="body-container">
|
||||
<div class="main-container">
|
||||
<router-view></router-view>
|
||||
<keep-alive :include="keepAlive" >
|
||||
<router-view/>
|
||||
</keep-alive>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
import jxHeader from '@components/header.vue'
|
||||
export default {
|
||||
components: {
|
||||
@@ -25,7 +28,8 @@ export default {
|
||||
title () {
|
||||
let res = ['半成品入库', '半成品入库查询', '半成品出库', '半成品出库查询', '半成品盘点', '半成品盘点查询', '半成品拼盘查询', '物料查询'][Number(this.$route.meta.guidePath) - 1]
|
||||
return res
|
||||
}
|
||||
},
|
||||
...mapGetters(['keepAlive'])
|
||||
},
|
||||
methods: {
|
||||
switchColor (type) {
|
||||
|
||||
Reference in New Issue
Block a user