Explorar o código

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

xieyonghong %!s(int64=3) %!d(string=hai) anos
pai
achega
b570a83667
Modificáronse 1 ficheiros con 2 adicións e 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':