Эх сурвалжийг харах

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

lanceJiang 5 сар өмнө
parent
commit
7b91c2f725

+ 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 }[]
 	}
 }