1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <template>
- <section class="bench-main">
- <router-view v-slot="{ Component }">
- <transition>
- <component :is="Component" @getProcessParentId="getProcessParentId"/>
- </transition>
- </router-view>
- </section>
- </template>
-
- <script>
- export default {
- name: 'Bench',
-
- watch:{
- $route: {
- deep: true,
- immediate: true,
- handler() {
- },
- },
- },
- data(){
- return {
- }
- },
- created(){
- },
- computed: {
-
- },
-
-
- methods:{
- getProcessParentId(value){
- this.$emit("getProcessParentId",value);
- }
-
- }
- }
- </script>
-
- <style scoped>
- .bench-main {
- width: 100%;
- }
- </style>
-
-
|