Sfoglia il codice sorgente

fix: 步骤配置列表事项名称render逻辑

lanjianrong 2 anni fa
parent
commit
179e79c479

+ 1 - 1
src/pages/Business/Step/components/Flow/components/Node/BaseNode.tsx

@@ -82,7 +82,7 @@ export const BaseNode = memo(({ id, data = {} }: BaseNodeProps) => {
           onClick={auditorTrigger}>
           <div>
             <span className={classNames({ 'text-hex-999999': !auditorText })}>
-              {auditorText ?? '发起人自选'}
+              {auditorText ?? '请配置执行者'}
             </span>
           </div>
           <div>

+ 3 - 1
src/pages/Business/Step/index.tsx

@@ -94,7 +94,9 @@ const Step: React.FC<StepProps> = ({ executorMap, matterMap, conditionSchema, di
     {
       dataIndex: 'matterNames',
       title: '事项名称',
-      width: '30%'
+      width: '30%',
+      ellipsis: true,
+      renderText: text => text?.join(',')
     }
   ]