Why didn't a vue child component successfully send a message to the parent component through an event?

the beginner vue, typed according to the example of the official website, how to click the button and the font didn"t get bigger

Html Code:

<body>
<div id="blog-posts-events-demo">
    <div :style="{ fontSize: postFontSize + "em" }">
        <blog-post
                v-for="post in posts"
                v-bind:key="post.id"
                v-bind:post="post"
        ></blog-post>
    </div>
</div>

</body>

js Code

 Vue.component("blog-post", {
        props: ["post"],
        template: `
    <div class="blog-post" v-on:enlarge-text="postFontSize+=0.1">
      <h3>{{ post.title }}</h3>
      <button v-on:click="$emit("enlarge-text")">
        Enlarge text
      </button>
      <div v-html="post.content"></div>
    </div>`
    })
    
    let a = new Vue({
        el: "-sharpblog-posts-events-demo",
        data: {
            posts: [
                {id: 1, content: "My journey with Vue", title: "1"},
                {id: 2, content: "Blogging with Vue", title: "2"},
                {id: 3, content: "Why Vue is so fun", title: "3"}
            ],
            postFontSize: 1
        }
    })
May.13,2021

v-on:enlarge-text should be written where the parent component invokes the child component

<blog-post
  v-for="post in posts"
  v-bind:key="post.id"
  v-bind:post="post"
  v-on:enlarge-text="postFontSize+=0.1"
></blog-post>

move v talk on the enlarge color text = "postFontSize+=0.1" to the < blog-post > component

'+ '</div>' });
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-1e5b734-44b75.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-1e5b734-44b75.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?