index.vue 588 Bytes
Newer Older
fukai committed
1 2 3 4 5 6 7 8
<template>
    <div class="display">
        <businessContainer></businessContainer>
    </div>
</template>

<script>
import businessContainer from "../Business"
fukai committed
9
import { mapMutations } from 'vuex'
fukai committed
10
export default {
潘际乾 committed
11
    name: "Display",
fukai committed
12 13
    components:{
        businessContainer //复用业务容器
fukai committed
14 15 16 17 18 19 20 21 22 23 24 25
    },
    created: function () {
        console.log("进入快照界面")
        this.setMode('display')
    },
    destroyed: function () {
        this.setMode('normal')
    },
    methods: {
        ...mapMutations([
        'setMode'
        ])
fukai committed
26 27 28 29 30 31 32
    }
}
</script>

<style>

</style>