refactor: 移除角色状态字段

This commit is contained in:
2024-04-27 17:32:56 +08:00
parent f130d5e44d
commit 5f4ea2eb0b
4 changed files with 3 additions and 37 deletions

View File

@@ -32,17 +32,6 @@
:auto-size="{ minRows: 3, maxRows: 5 }"
/>
</a-form-item>
<a-form-item label="状态" field="status">
<a-switch
v-model="form.status"
:disabled="form.isSystem"
type="round"
:checked-value="1"
:unchecked-value="2"
checked-text="启用"
unchecked-text="禁用"
/>
</a-form-item>
</fieldset>
<fieldset>
<legend>功能权限</legend>
@@ -123,7 +112,6 @@ const { form, resetForm } = useForm({
name: '',
code: '',
sort: 999,
status: 1,
description: undefined,
menuIds: undefined,
dataScope: 4,