Vue clicks on a column of a table, how to get the elements of this element?

when you click on the promotion, you want to get the current ID number. How to write it? jquery is a pure dom operation to find the superior. Is it bad for vue to write dom?

clipboard.png

Mar.20,2021

elementui? for use
in which column, use slot-scope, to pass scope.row through: click. If you haven't written vue, for a long time, you don't remember


in the template, you should render everyone out in a loop, so naturally everyone's id, looks like this:

<tr v-for="(person,index) in persons">
 <td>
   <a @click="doSomething(person.id)"></a>
 </td>
</tr>


vue use elementui, https://element.faas.ele.me/-sharp.

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