diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index d1c1701..09c4334 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -138,8 +138,8 @@ @@ -510,7 +510,7 @@ function handleSelectionChange(selection) { } /** 角色状态修改 */ function handleStatusChange(row) { - let text = row.status === "0" ? "启用" : "停用"; + let text = row.status === "0" ? "停用" : "启用"; proxy.$modal .confirm('确认要"' + text + '""' + row.roleName + '"角色吗?') .then(function () { @@ -569,7 +569,7 @@ function reset() { roleName: undefined, roleKey: undefined, roleSort: 0, - status: "0", + status: "1", menuIds: [], deptIds: [], menuCheckStrictly: true,