1 HTML部分
<el-table-column label="商品状态" width="140" align='center'>
<template slot-scope="scope">{
{scope.row.status | brand}}</template>
</el-table-column>
<el-table-column label="操作" width="360" align='center'>
<template slot-scope="scope">
<el-button type="text" size="small" @click="editdata(scope.row)">编辑</el-button>
<el-button type="text" size="small" id="onsgelf" @click="Transformation(scope.row)">{
{scope.row.status =