This commit is contained in:
JaguarJack 2023-03-14 09:52:40 +08:00
parent 0a22e9e56f
commit 910a690507

View File

@ -66,6 +66,7 @@
/>
</el-form-item>
<el-form-item label="角色权限" prop="permissions">
<div class="h-40 overflow-auto w-full border border-gray-300 rounded pt-2 pl-2">
<el-tree
ref="permissionTree"
v-model="formData.permissions"
@ -74,10 +75,11 @@
class="w-full"
:props="{ label: 'permission_name', value: 'id' }"
show-checkbox
:default-expand-all="false"
:default-expand-all="true"
@check="selectPermissions"
:empty-text="permissionLoadingText"
/>
</div>
</el-form-item>
<div class="flex justify-end">
<el-button type="primary" @click="submitForm(form)">{{ $t('system.confirm') }}</el-button>