element-uitoggleRowExpansion的使⽤1.toggleRowExpansion是实现⼿动展开的功能不通过下拉按钮⽐较⽅便,最好配合row-click进⾏使⽤
<el-table ref="multipleTable" @row-click="rowClick" :data="tableData">
<el-table-column type="expand">
assignedto>sunro
<template slot-scope="props">
工程管理系统<p : v-html="ssageContent"></p>
</template>
trimester
</el-table-column>
<el-table-column type="lection" width="55" :lectable='lectInit'></el-table-column>
<el-table-column label="标题">
<template slot-scope="scope" :class="w.isRead?'':'opt'">{{ ssageTitle}}</template>
</el-table-column>
teatime
<el-table-column label="时间" width="160">
<template slot-scope="scope">{{ w.updatedDate | moment}}</template>
rangedisplay</el-table-column>
</el-table>
//JS
sgccmethods: {
rowClick(row){
//第⼆个参数是布尔值
this.$leRowExpansion(row, row.listStatus)
row.listStatus = !row.listStatusdance怎么读
hurry}
}square怎么读