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