Elements-SY

modify

......@@ -362,7 +362,7 @@ export default {
cancelButtonText: "取消",
type: "warning",
}).then(() => {
enableOrDisable({ id: item.id, status: item.status })
enableOrDisable({ id: item.id, status: item.status == "1" ? "3" : "1" })
.then((res) => {
const { code, msg } = res;
if (code == 200) {
......