This commit is contained in:
chenjianan
2019-04-10 08:41:23 +08:00
parent 1ce8618b8d
commit 175035081b

View File

@@ -159,7 +159,7 @@
</template>
</template>
</el-table-column>
<el-table-column label="操作" width="150px" align="center" fixed="right">
<el-table-column label="操作" width="150px" align="center">
<template slot-scope="scope">
<el-button v-if="scope.row.edit" type="success" size="small" @click="confirmEdit(scope.row)">确定</el-button>
<el-button v-else type="primary" size="small" @click="scope.row.edit=!scope.row.edit">编辑</el-button>