Vue Click to expand tr Hidden content?

Let"s take an effect picture first, and the code is posted at the back. Vue is not very familiar with it yet. I hope God will give me a thought or direction ~
clipboard.png
Jqtrtdtrtrtrtd

clipboard.png

.
<tbody>
              <tr class="hap_table_tr" v-for="(item,index) in hank">
                <td class="hap_table_bank">
                  

{{ item.name }}

</td> <td>

{{ item.process }}

</td> <td> <time>{{ item.date }}</time> </td> <td class="hap_table_notes" @click="changeContent(index)"> <p class="hap_table_note">{{ item.remakes }}

<i class="hap_table_drop1"></i> </td> </tr> </tbody>
hank:[
              {name:"",process:"",date:"208-05-23",remakes:"9"},
              {name:"",process:"",date:"208-05-23",remakes:""},
              {name:"",process:"",date:"208-05-23",remakes:""},
              {name:"",process:"",date:"208-05-23",remakes:""},
              {name:"",process:"",date:"208-05-23",remakes:""},
              {name:"",process:"",date:"208-05-23",remakes:""},
              {name:"",process:"",date:"208-05-23",remakes:""},
              {name:"",process:"",date:"208-05-23",remakes:""},
              {name:"",process:"",date:"208-05-23",remakes:""},
              {name:"",process:"",date:"208-05-23",remakes:""},
              {name:"",process:"",date:"208-05-23",remakes:""},
              {name:"",process:"",date:"208-05-23",remakes:""},
            ],
Mar.29,2021

you can use the table component of elementui! elementui

expand the line type= "expand"
refer to Link description
this is to set the button on the right. If your remakes does not have data, it will not display this. If you have data, it will display
this is my project

.

this is not difficult to achieve. Just package two lines of tr as a component, and write the hidden logic to the component. It may be important to note, however, that there are restrictions on what tags are included in table tags, but this is not a problem if you use Vue templates.

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