(window.webpackJsonp=window.webpackJsonp||[]).push([[15,14],{Y8AM:function(f,c,e){"use strict";var v=e("sRBo"),d=e("kaz8"),C=e("+L6B"),P=e("2/Rp"),B=e("5NDa"),m=e("5rEg"),L=e("y8nQ"),a=e("Vl3Y"),y=e("tJVT"),h=e("q1tI"),t=e.n(h),s=e("55Ip"),p=e("Ty5D"),D=e("9kvl"),l={height:40},g=function(n){var r=n.onLogin,u=n.dispatch,O=a.a.useForm(),R=Object(y.a)(O,1),i=R[0],U=Object(p.l)();function M(o){r(o),i.resetFields()}var E=function(){u({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return t.a.createElement(a.a,{layout:"vertical",form:i,initialValues:{autologin:!0},onFinish:M},t.a.createElement(a.a.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7 "}]},t.a.createElement(m.a,{style:l,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7"})),t.a.createElement(a.a.Item,{name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BC6\u7801"}]},t.a.createElement(m.a.Password,{style:l,visibilityToggle:!1,size:"large",placeholder:"\u5BC6\u7801"})),t.a.createElement(a.a.Item,null,t.a.createElement(P.a,{size:"large",type:"primary",htmlType:"submit",block:!0,style:l},"\u767B\u5F55")),t.a.createElement(a.a.Item,null,t.a.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},t.a.createElement(a.a.Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},t.a.createElement(d.a,null,"\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55")),t.a.createElement("div",null,t.a.createElement(s.Link,{className:"c-grey-c",onClick:function(){return E()},to:"/user/reset-password?from=".concat(U.pathname)},"\u627E\u56DE\u5BC6\u7801")," | ",t.a.createElement(s.Link,{onClick:function(){return E()},className:"c-grey-c",to:"/user/register"},"\u6CE8\u518C")))))};c.a=Object(D.a)(function(_){var n=_.user,r=_.loading,u=_.globalSetting;return{user:n,globalSetting:u,loading:r.models.index}})(g)}}]);
