<el-table-column label="AAA" width="120">
<template slot-scope="{}">
<div>{
{ data.A+ data.B}}</div>
</template>
</el-table-column>
如果template中不放有关scope.row的值,slot-scope可以直接写{}
<el-table-column label="AAA" width="120">
<template slot-scope="{}">
<div>{
{ data.A+ data.B}}</div>
</template>
</el-table-column>
如果template中不放有关scope.row的值,slot-scope可以直接写{}