@@ -141,10 +141,7 @@ export default {
this.$confirm(`是否${title}${row.name}?`, '提示', {
type: 'warning'
}).then(() => {
- change({
- id: row.id,
- status: status
- }).then(res => {
+ change(row.id, status).then(res => {
if (res.code === 0) {
this.$message.success(`${title}成功!`)
this.getList()