(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[15,14],{Y8AM:function(e,a,t){"use strict";t("GrpF");var n=t("Xc/e"),l=(t("MPZO"),t("bnk9")),r=(t("DHCt"),t("CRgH")),o=(t("EkPb"),t("7X0+")),i=t("GZha"),s=t("ZZRV"),c=t.n(s),m=t("DndG"),u=t("q5+0"),g=t("9kvl"),p={height:40},d=function(e){var a=e.onLogin,t=e.dispatch,s=o["a"].useForm(),g=Object(i["a"])(s,1),d=g[0],y=Object(u["l"])();function E(e){a(e),d.resetFields()}var b=function(){t({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return c.a.createElement(o["a"],{layout:"vertical",form:d,initialValues:{autologin:!0},onFinish:E},c.a.createElement(o["a"].Item,{name:"login",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u6709\u6548\u7684\u624b\u673a\u53f7/\u90ae\u7bb1\u53f7 "}]},c.a.createElement(r["a"],{style:p,size:"large",placeholder:"\u8bf7\u8f93\u5165\u6709\u6548\u7684\u624b\u673a\u53f7/\u90ae\u7bb1\u53f7"})),c.a.createElement(o["a"].Item,{name:"password",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u5bc6\u7801"}]},c.a.createElement(r["a"].Password,{style:p,visibilityToggle:!1,size:"large",placeholder:"\u5bc6\u7801"})),c.a.createElement(o["a"].Item,null,c.a.createElement(l["a"],{size:"large",type:"primary",htmlType:"submit",block:!0,style:p},"\u767b\u5f55")),c.a.createElement(o["a"].Item,null,c.a.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},c.a.createElement(o["a"].Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},c.a.createElement(n["a"],null,"\u4e0b\u6b21\u81ea\u52a8\u767b\u5f55")),c.a.createElement("div",null,c.a.createElement(m["Link"],{className:"c-grey-c",onClick:function(){return b()},to:"/user/reset-password?from=".concat(y.pathname)},"\u627e\u56de\u5bc6\u7801")," | ",c.a.createElement(m["Link"],{onClick:function(){return b()},className:"c-grey-c",to:"/user/register"},"\u6ce8\u518c")))))};a["a"]=Object(g["a"])((function(e){var a=e.user,t=e.loading,n=e.globalSetting;return{user:a,globalSetting:n,loading:t.models.index}}))(d)}}]);