소스 검색

feat(执行动作): 添加执行动作(消息通知)

xieyonghong 4 년 전
부모
커밋
b570a83667
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/pages/rule-engine/Scene/Save/action/messageContent.tsx

+ 2 - 2
src/pages/rule-engine/Scene/Save/action/messageContent.tsx

@@ -129,11 +129,11 @@ export default (props: MessageContentProps) => {
                                   />
                                 );
                               case 'date':
-                                // @ts-ignore
                                 return (
+                                  // @ts-ignore
                                   <DatePicker
                                     style={{ width: '100%' }}
-                                    format={data.format || 'YYYY-MM-DD HH:mm:ss'}
+                                    format={item.format || 'YYYY-MM-DD HH:mm:ss'}
                                   />
                                 );
                               case 'number':