点击单元格可以 直接修改element-ui的数据,可以用contenteditable这个html的属性
代码如下
<el-table-column prop="CODCR" label="CODCR(mg/l)浓度" align="center">
<template slot-scope="scope">
<div contenteditable="true">{{ scope.row.CODCR }}</div>
</template>
</el-table-column>