Commit 1476ae86 authored by 赵伟庚's avatar 赵伟庚

内置角色不可改变状态

parent 674a64c4
......@@ -339,6 +339,9 @@ const changeSearch = (val) => {
} // 表格关键字筛选
const changeUseRow = (row) => {
if (row.role_type == 1 || row.role_type == 2) {
return
}
axios
.post(`/apaas/system/v5/role/state/${row.id}/${row.state}`)
.then((res) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment