|
@@ -676,7 +676,7 @@ export function useFlowDesigner(lfContainer: Ref<HTMLDivElement | undefined>) {
|
|
|
const assigneeType = props.assigneeType ?? 'ROLE'
|
|
const assigneeType = props.assigneeType ?? 'ROLE'
|
|
|
const assigneeValue = props.assigneeValue || props.approver
|
|
const assigneeValue = props.assigneeValue || props.approver
|
|
|
if (assigneeType === 'ROLE' && !assigneeValue && props.subNodesEnabled !== true) {
|
|
if (assigneeType === 'ROLE' && !assigneeValue && props.subNodesEnabled !== true) {
|
|
|
- return `审批节点 "${node.text || node.name}" 未选择审批角色`
|
|
|
|
|
|
|
+ return `审批节点 ${node.text || node.name} 未选择审批角色`
|
|
|
}
|
|
}
|
|
|
if (assigneeType === 'EXTERNAL') {
|
|
if (assigneeType === 'EXTERNAL') {
|
|
|
if (props.subNodesEnabled === true) {
|
|
if (props.subNodesEnabled === true) {
|
|
@@ -701,7 +701,7 @@ export function useFlowDesigner(lfContainer: Ref<HTMLDivElement | undefined>) {
|
|
|
const subAssigneeType = sub.assigneeType ?? 'ROLE'
|
|
const subAssigneeType = sub.assigneeType ?? 'ROLE'
|
|
|
const subAssigneeValue = sub.assigneeValue
|
|
const subAssigneeValue = sub.assigneeValue
|
|
|
if (subAssigneeType === 'ROLE' && !subAssigneeValue) {
|
|
if (subAssigneeType === 'ROLE' && !subAssigneeValue) {
|
|
|
- return `审批节点 "${node.text || node.name}" 的子节点 ${i + 1} 未选择审批角色`
|
|
|
|
|
|
|
+ return `审批节点 ${node.text || node.name} 的子节点 ${i + 1} 未选择审批角色`
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|