The data data value in the vue component wants to get the data data value of the root instance, and the novice asks for guidance

:my-aaaaaaamy-aaamsgmsg:vm.aaaa
<div id="box">
    <my-aaa></my-aaa>
</div>

<script>
    var vm=new Vue({
        el:"-sharpbox",
        data:{
            aaaa:2
        },
        components:{
            "my-aaa":{
                data(){
                    return {
                        msg:vm.aaaa
                    }
                },
                methods:{
                    change(){
                        this.msg="changed";
                    }
                },
                template:"<h2 @click="change">2->{{msg}}</h2>"
            }
        }
    });

</script>

...
'my-aaa': {
  data() {
    return {
      msg: this.$root.aaaa
    }
  },
...

just use props directly. What is there to ask

?
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-191c41a-1b1a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-191c41a-1b1a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?