inleft
2022-02-21 63f5119bcc714c36fe8db21e5461d73eb5a0eaa0
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>