inleft
2022-01-23 6d105720dba848e7413fe6709f68d85f0a264fbf
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>