Ver código fonte

feat: approver 审核人 form.nodeCandidate.type 1用户 2角色 => 0用户 1角色

lanceJiang 5 meses atrás
pai
commit
7b91c2f725
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      src/views/approve/components/config.ts

+ 2 - 1
src/views/approve/components/config.ts

@@ -16,7 +16,8 @@ type ModelContentConfig = {
 	}[]
 	// 备选数据
 	nodeCandidate?: {
-		type: 1 | 2
+		// 0:用户 1: 角色
+		type: 0 | 1
 		assignees?: { name: string; id: string }[]
 	}
 }