Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -362,7 +362,7 @@ export default { | ... | @@ -362,7 +362,7 @@ export default { |
| 362 | cancelButtonText: "取消", | 362 | cancelButtonText: "取消", |
| 363 | type: "warning", | 363 | type: "warning", |
| 364 | }).then(() => { | 364 | }).then(() => { |
| 365 | - enableOrDisable({ id: item.id, status: item.status }) | 365 | + enableOrDisable({ id: item.id, status: item.status == "1" ? "3" : "1" }) |
| 366 | .then((res) => { | 366 | .then((res) => { |
| 367 | const { code, msg } = res; | 367 | const { code, msg } = res; |
| 368 | if (code == 200) { | 368 | if (code == 200) { | ... | ... |
-
Please register or login to post a comment