lijh
2022-01-18 15bd39c66eb9c1942b72fb373fbe16865f715f04
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>