The puzzle about vue v-on $emit.

I introduced vue.js directly into the browser.
the following code. Click hi to print only hi but not hello. I don"t know why.
< div id= "app" >
< div Vlyon app Hello = "hello" >

<div v-on:click="hi">hi</div>

< / div >
< / div >
< script >
var vm = new Vue ({
el:"-sharpapp",
methods: {

hello: function() {
  console.log("hello");
},
hi: function(){
  console.log("hi");
  this.$emit("hello");
}

}
});
< / script >

Jun.01,2021

this.$emit('hello');

triggers the hello event instead of executing the hello function

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-1e51f7c-446ba.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-1e51f7c-446ba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?