zhangjie 1 year ago
parent
commit
c590fc8416

+ 2 - 2
src/views/resource-guard/person-guard/person-allocate/person-deploy-dialog.vue

@@ -255,8 +255,8 @@ const handleDelete = (row) => {
 
 const checkRoleList = () => {
   const val = formData.roleConfigInfo;
-  if (!val || !val.length)
-    return { result: false, message: '至少配置一个角色' };
+  // if (!val || !val.length)
+  //   return { result: false, message: '至少配置一个角色' };
 
   if (val.some((item) => !item.userIdList.length))
     return { result: false, message: '有角色未设置人员' };