Explorar el Código

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

xieyonghong hace 3 años
padre
commit
b570a83667
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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':