浏览代码

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

lanceJiang 5 月之前
父节点
当前提交
7b91c2f725
共有 1 个文件被更改,包括 2 次插入1 次删除
  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 }[]
 	}
 }