<el-table :data="tableData"> <el-table-column prop="date" label="日期" width="180" v-if="XXXXXXXXXXX"> <template slot-scope="scope"> <span>{{ scope.row.date }}</span> </template> </el-table-column> </el-table> 比如上面的代码,正常情况我可以在template的slot-scope获取的当前行...
<el-table :data="tableData"> <el-table-column prop="date" label="日期" width="180" v-if="XXXXXXXXXXX"> <template slot-scope="scope"> <span>{{ scope.row.date }}</span> </template> </el-table-column> </el-table> 比如上面的代码,正常情况我可以在template的slot-scope获取的当前行...
<el-table :data="tableData"> <el-table-column prop="date" label="日期" width="180" v-if="XXXXXXXXXXX"> <template slot-scope="scope"> <span>{{ scope.row.date }}</span> </template> </el-table-column> </el-table> 比如上面的代码,正常情况我可以在template的slot-scope获取的当前行...