瀏覽代碼

fix: ficc小套餐品种选择

Karsa 4 月之前
父節點
當前提交
36c45917ca
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/views/financialManagement/components/permissionDia.vue

+ 1 - 3
src/views/financialManagement/components/permissionDia.vue

@@ -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()
   }