inleft
2022-08-12 0dd41bd8cee430d3a948b89c664cb511c400993c
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>