Commit be33879e authored by 邓超's avatar 邓超

fix: 修改没有填写规则时的文案

parent 1de914d0
Pipeline #63601 passed with stages
......@@ -636,9 +636,16 @@ const NodeModal = props => {
节点抄送人
</Divider>
<div className={styles.buttonBox} onClick={() => editCC()}>
<div className={styles.setButton}>
<div
className={styles.setButton}
style={{ textAlign: CarbonCopyPeopleList.length > 0 ? 'left' : 'center' }}
>
<Tooltip title={CarbonCopyPeopleList.map(item => item.label).join(',')}>
<span>{CarbonCopyPeopleList.map(item => item.label).join(',')} </span>
<span>
{CarbonCopyPeopleList.length > 0
? CarbonCopyPeopleList.map(item => item.label).join(',')
: '选择抄送人'}
</span>
</Tooltip>
</div>
<div className={styles.addIcon}>
......@@ -734,10 +741,13 @@ const NodeModal = props => {
</div>
</div> */}
<div className={styles.buttonBox} onClick={() => editRule(item, index)}>
<div className={styles.setButton}>
<div
className={styles.setButton}
style={{ textAlign: item.RuleContent ? 'left' : 'center' }}
>
<Tooltip title={item.RuleContent}>
{/* <span>{item.RuleContent ? '已设置条件' : '设置条件'} </span> */}
<span>{item.RuleContent} </span>
<span>{item.RuleContent ? item.RuleContent : '设置条件'} </span>
{/* <span>{item.RuleContent} </span> */}
</Tooltip>
</div>
<div className={styles.addIcon}>
......
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