Does vue gain focus or lose focus does not work?

this is html:

<input type="text" v-model="value" @blur="blur" @focus="focuson" />

the following is the trigger event:

 blur(){
    console.log(11111111111111);
 },
 focuson(){
    console.log(11111111111);
 }

did not report an error, but the console did not print? Does any boss know what"s going on?

Nov.30,2021

just wrote a new one, that's right. Check other places


I tried. That's fine.

<input type="text" @focus="focuson" />

methods: {
      focuson(){
        console.log(11111111111);
      }
}

clipboard.png

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