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