diff --git a/src/views/system/role/components/Perm.vue b/src/views/system/role/components/Perm.vue index 35458c6c..380b9d0d 100644 --- a/src/views/system/role/components/Perm.vue +++ b/src/views/system/role/components/Perm.vue @@ -92,7 +92,7 @@ const state = reactive({ const { permissionOptions, isIndeterminate, checkAll } = toRefs(state); -function handleCheckAllChange(checked: boolean) { +function handleCheckAllChange(checked: any) { state.isIndeterminate = false; if (checked) { state.permissionOptions.map(item => (item.checked = true));