VUE problem, inserting a Html, into it will call a method onclick=xxx (r);. How can this r be passed in?

clipboard.png

Feb.28,2021

Why do you still do this with vue?
@ click= "f (r)" call it this way. In function f, call the function under your window.


this question I use another compromise method to achieve my desired goal. Bind the value value, pass it into the function itself is this, and then get the value in the global Method. This way is a little lenient, if there is a better way, please let me know.

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