parent
b4949e8c5f
commit
6a3aa487eb
@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[13,12],{Y8AM:function(W,h,e){"use strict";var g=e("WmNS"),c=e.n(g),F=e("sRBo"),D=e("kaz8"),K=e("+L6B"),O=e("2/Rp"),j=e("5NDa"),p=e("5rEg"),U=e("9og8"),S=e("y8nQ"),t=e("Vl3Y"),P=e("tJVT"),s=e("q1tI"),_=e.n(s),v=e("55Ip"),M=e("Ty5D"),R=e("9kvl"),u={height:40},f=function(a){var m=a.onLogin,i=a.dispatch,B=a.user,C=t.a.useForm(),L=Object(P.a)(C,1),E=L[0],z=Object(M.l)(),I=Object(s.useState)("/rucaptcha"),y=Object(P.a)(I,2),N=y[0],x=y[1];Object(s.useEffect)(function(){E.resetFields()},[B.showPopLogin]);function A(r){return d.apply(this,arguments)}function d(){return d=Object(U.a)(c.a.mark(function r(b){var l;return c.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,m(b);case 2:l=n.sent,(l==null?void 0:l.status)===-2&&E.resetFields();case 4:case"end":return n.stop()}},r)})),d.apply(this,arguments)}var T=function(){i({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return _.a.createElement(t.a,{layout:"vertical",form:E,initialValues:{autologin:!0},onFinish:A},_.a.createElement(t.a.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7 "}]},_.a.createElement(p.a,{style:u,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7"})),_.a.createElement(t.a.Item,{name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BC6\u7801"}]},_.a.createElement(p.a.Password,{style:u,visibilityToggle:!1,size:"large",placeholder:"\u5BC6\u7801"})),_.a.createElement(t.a.Item,null,_.a.createElement(O.a,{size:"large",type:"primary",htmlType:"submit",block:!0,style:u},"\u767B\u5F55")),_.a.createElement(t.a.Item,null,_.a.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},_.a.createElement(t.a.Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},_.a.createElement(D.a,null,"\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55")),_.a.createElement("div",null,_.a.createElement(v.Link,{onClick:function(){return T()},className:"c-grey-c",to:"/user/register"},"\u6CE8\u518C")))))};h.a=Object(R.a)(function(o){var a=o.user,m=o.loading,i=o.globalSetting;return{user:a,globalSetting:i,loading:m.models.index}})(f)}}]);
|
||||
@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[13,12],{Y8AM:function(j,D,e){"use strict";var f=e("WmNS"),p=e.n(f),S=e("sRBo"),O=e("kaz8"),z=e("+L6B"),R=e("2/Rp"),x=e("5NDa"),u=e("5rEg"),U=e("9og8"),N=e("y8nQ"),_=e("Vl3Y"),y=e("tJVT"),m=e("q1tI"),t=e.n(m),v=e("55Ip"),M=e("Ty5D"),C=e("9kvl"),i=e("m3rI"),r={height:40},B=function(a){var E=a.onLogin,d=a.dispatch,I=a.user,L=_.a.useForm(),A=Object(y.a)(L,1),c=A[0],w=Object(M.l)(),T=Object(m.useState)("/rucaptcha"),h=Object(y.a)(T,2),g=h[0],b=h[1];Object(m.useEffect)(function(){c.resetFields()},[I.showPopLogin]);function W(n){return P.apply(this,arguments)}function P(){return P=Object(U.a)(p.a.mark(function n(F){var s;return p.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,E(F);case 2:s=o.sent,(s==null?void 0:s.status)===-2&&c.resetFields();case 4:case"end":return o.stop()}},n)})),P.apply(this,arguments)}var K=function(){d({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return t.a.createElement(_.a,{layout:"vertical",form:c,initialValues:{autologin:!0},onFinish:W},t.a.createElement(_.a.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7 "}]},t.a.createElement(u.a,{style:r,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7"})),t.a.createElement(_.a.Item,{name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BC6\u7801"}]},t.a.createElement(u.a.Password,{style:r,visibilityToggle:!1,size:"large",placeholder:"\u5BC6\u7801"})),t.a.createElement(_.a.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},t.a.createElement("div",{style:{display:"flex"}},t.a.createElement(u.a,{style:r,size:"large",placeholder:"\u9A8C\u8BC1\u7801"}),t.a.createElement("img",{src:(i.a===null||i.a===void 0?void 0:i.a.API_SERVER)+g,style:{height:"32px",marginLeft:"10px"},onClick:function(){b(g+"/?t="+Date.now())}}))),t.a.createElement(_.a.Item,null,t.a.createElement(R.a,{size:"large",type:"primary",htmlType:"submit",block:!0,style:r},"\u767B\u5F55")),t.a.createElement(_.a.Item,null,t.a.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},t.a.createElement(_.a.Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},t.a.createElement(O.a,null,"\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55")),t.a.createElement("div",null,t.a.createElement(v.Link,{onClick:function(){return K()},className:"c-grey-c",to:"/user/register"},"\u6CE8\u518C")))))};D.a=Object(C.a)(function(l){var a=l.user,E=l.loading,d=l.globalSetting;return{user:a,globalSetting:d,loading:E.models.index}})(B)}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue