Merge pull request #187 from solante1012/dev
fix: [bpm][antd] BPM 设计器用户任务, 点击查不到数据问题
This commit is contained in:
@@ -120,10 +120,10 @@ const resetTaskForm = () => {
|
|||||||
bpmnInstances().moddle.create('bpmn:ExtensionElements', { values: [] });
|
bpmnInstances().moddle.create('bpmn:ExtensionElements', { values: [] });
|
||||||
userTaskForm.value.candidateStrategy = extensionElements.values?.find(
|
userTaskForm.value.candidateStrategy = extensionElements.values?.find(
|
||||||
(ex: any) => ex.$type === `${prefix}:CandidateStrategy`,
|
(ex: any) => ex.$type === `${prefix}:CandidateStrategy`,
|
||||||
)?.[0]?.value;
|
)?.value;
|
||||||
const candidateParamStr = extensionElements.values?.find(
|
const candidateParamStr = extensionElements.values?.find(
|
||||||
(ex: any) => ex.$type === `${prefix}:CandidateParam`,
|
(ex: any) => ex.$type === `${prefix}:CandidateParam`,
|
||||||
)?.[0]?.value;
|
)?.value;
|
||||||
if (candidateParamStr && candidateParamStr.length > 0) {
|
if (candidateParamStr && candidateParamStr.length > 0) {
|
||||||
// eslint-disable-next-line unicorn/prefer-switch
|
// eslint-disable-next-line unicorn/prefer-switch
|
||||||
if (userTaskForm.value.candidateStrategy === CandidateStrategy.EXPRESSION) {
|
if (userTaskForm.value.candidateStrategy === CandidateStrategy.EXPRESSION) {
|
||||||
|
|||||||
Reference in New Issue
Block a user