Commit a0f6c03e authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复步骤条展示不对的问题

parent c5320c8d
......@@ -133,7 +133,7 @@ function useGetDetailCommon<T extends GetProductGoodsGetGoodsProcessDetailRespon
roleName: item.roleName,
status: (
(initialValue?.simpleProcessDefVO?.currentStep > item.taskStep)
|| (index === initialValue?.simpleProcessDefVO?.tasks.length - 1 && initialValue?.simpleProcessDefVO?.currentStep === item.taskStep)
|| (initialValue?.simpleProcessDefVO?.tasks.length === 1 && initialValue?.simpleProcessDefVO?.currentStep === item.taskStep)
)
? 'finish'
: 'wait',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment