inleft
2022-01-21 b505f3648a10dd998ae9fe7a6edb1bf125d7d6a6
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>