parent
79c6cf8172
commit
c3a9517ae6
@ -1 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[15,14],{Y8AM:function(e,a,t){"use strict";t("sRBo");var n=t("kaz8"),l=(t("+L6B"),t("2/Rp")),r=(t("5NDa"),t("5rEg")),o=(t("y8nQ"),t("Vl3Y")),s=t("tJVT"),c=t("q1tI"),i=t.n(c),m=t("55Ip"),u=t("Ty5D"),g=t("9kvl"),p=t("m3rI"),d={height:40},E=function(e){var a=e.onLogin,t=e.dispatch,g=e.user,E=o["a"].useForm(),y=Object(s["a"])(E,1),f=y[0],h=Object(u["l"])(),b=Object(c["useState"])("/rucaptcha"),w=Object(s["a"])(b,2),v=w[0],k=w[1];function I(e){a(e)}Object(c["useEffect"])((function(){console.log("0------------"),f.resetFields()}),[g.showPopLogin]);var L=function(){t({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return i.a.createElement(o["a"],{layout:"vertical",form:f,initialValues:{autologin:!0},onFinish:I},i.a.createElement(o["a"].Item,{name:"login",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u6709\u6548\u7684\u624b\u673a\u53f7/\u90ae\u7bb1\u53f7 "}]},i.a.createElement(r["a"],{style:d,size:"large",placeholder:"\u8bf7\u8f93\u5165\u6709\u6548\u7684\u624b\u673a\u53f7/\u90ae\u7bb1\u53f7"})),i.a.createElement(o["a"].Item,{name:"password",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u5bc6\u7801"}]},i.a.createElement(r["a"].Password,{style:d,visibilityToggle:!1,size:"large",placeholder:"\u5bc6\u7801"})),i.a.createElement(o["a"].Item,{name:"code",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801"}]},i.a.createElement("div",{style:{display:"flex"}},i.a.createElement(r["a"],{style:d,size:"large",placeholder:"\u9a8c\u8bc1\u7801"}),i.a.createElement("img",{src:(null===p["a"]||void 0===p["a"]?void 0:p["a"].API_SERVER)+v,style:{height:"32px",marginLeft:"10px"},onClick:function(){k(v+"/?t="+Date.now())}}))),i.a.createElement(o["a"].Item,null,i.a.createElement(l["a"],{size:"large",type:"primary",htmlType:"submit",block:!0,style:d},"\u767b\u5f55")),i.a.createElement(o["a"].Item,null,i.a.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},i.a.createElement(o["a"].Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},i.a.createElement(n["a"],null,"\u4e0b\u6b21\u81ea\u52a8\u767b\u5f55")),i.a.createElement("div",null,i.a.createElement(m["Link"],{className:"c-grey-c",onClick:function(){return L()},to:"/user/reset-password?from=".concat(h.pathname)},"\u627e\u56de\u5bc6\u7801")," | ",i.a.createElement(m["Link"],{onClick:function(){return L()},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}}))(E)}}]);
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[15,14],{Y8AM:function(e,a,t){"use strict";t("sRBo");var l=t("kaz8"),n=(t("+L6B"),t("2/Rp")),r=(t("5NDa"),t("5rEg")),i=(t("y8nQ"),t("Vl3Y")),o=t("tJVT"),s=t("q1tI"),c=t.n(s),m=t("55Ip"),u=t("Ty5D"),g=t("9kvl"),p=t("m3rI"),d={height:40},E=function(e){var a=e.onLogin,t=e.dispatch,g=e.user,E=i["a"].useForm(),y=Object(o["a"])(E,1),h=y[0],f=(Object(u["l"])(),Object(s["useState"])("/rucaptcha")),b=Object(o["a"])(f,2),v=b[0],w=b[1];function I(e){a(e)}Object(s["useEffect"])((function(){console.log("0------------"),h.resetFields()}),[g.showPopLogin]);var k=function(){t({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return c.a.createElement(i["a"],{layout:"vertical",form:h,initialValues:{autologin:!0},onFinish:I},c.a.createElement(i["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:d,size:"large",placeholder:"\u8bf7\u8f93\u5165\u6709\u6548\u7684\u624b\u673a\u53f7/\u90ae\u7bb1\u53f7"})),c.a.createElement(i["a"].Item,{name:"password",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u5bc6\u7801"}]},c.a.createElement(r["a"].Password,{style:d,visibilityToggle:!1,size:"large",placeholder:"\u5bc6\u7801"})),c.a.createElement(i["a"].Item,{name:"code",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801"}]},c.a.createElement("div",{style:{display:"flex"}},c.a.createElement(r["a"],{style:d,size:"large",placeholder:"\u9a8c\u8bc1\u7801"}),c.a.createElement("img",{src:(null===p["a"]||void 0===p["a"]?void 0:p["a"].API_SERVER)+v,style:{height:"32px",marginLeft:"10px"},onClick:function(){w(v+"/?t="+Date.now())}}))),c.a.createElement(i["a"].Item,null,c.a.createElement(n["a"],{size:"large",type:"primary",htmlType:"submit",block:!0,style:d},"\u767b\u5f55")),c.a.createElement(i["a"].Item,null,c.a.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},c.a.createElement(i["a"].Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},c.a.createElement(l["a"],null,"\u4e0b\u6b21\u81ea\u52a8\u767b\u5f55")),c.a.createElement("div",null,c.a.createElement(m["Link"],{onClick:function(){return k()},className:"c-grey-c",to:"/user/register"},"\u6ce8\u518c")))))};a["a"]=Object(g["a"])((function(e){var a=e.user,t=e.loading,l=e.globalSetting;return{user:a,globalSetting:l,loading:t.models.index}}))(E)}}]);
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue