inleft
2022-02-23 81c155e7e00b83f06e6486a8d904428a44b8b275
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// C.vue
<template>
    <div>
        C:{{demo}}
    </div>
</template>
 
<script>
    export default {
        name: "C",
        inject: ['for'],
        data() {
            return {
                demo: this.for
            }
        }
    }
</script>