|
@@ -80,9 +80,7 @@ import {getPermissionList} from '@/api/crm'
|
|
|
}
|
|
|
|
|
|
const submit=()=>{
|
|
|
- permissionDia.permissionList.map(item =>{
|
|
|
- permissionDia.permissionChecked=[...permissionDia.permissionChecked,...item.check_list]
|
|
|
- })
|
|
|
+ permissionDia.permissionChecked = Array.from(new Set(permissionDia.permissionList.map(item =>item.check_list).flat(Infinity)))
|
|
|
emits('selectFinish',permissionDia.permissionChecked)
|
|
|
closeDia()
|
|
|
}
|