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