parent
32f48fc5d0
commit
355f76c7b1
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[15,14],{Y8AM:function(f,d,e){"use strict";var v=e("sRBo"),c=e("kaz8"),C=e("+L6B"),P=e("2/Rp"),B=e("5NDa"),m=e("5rEg"),L=e("y8nQ"),a=e("Vl3Y"),y=e("tJVT"),p=e("q1tI"),t=e.n(p),s=e("55Ip"),h=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),E=R[0],U=Object(h.l)();function M(o){r(o),E.resetFields()}var i=function(){u({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return t.a.createElement(a.a,{layout:"vertical",form:E,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/\u8D26\u53F7 "}]},t.a.createElement(m.a,{style:l,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\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(c.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 i()},to:"/user/reset-password?from=".concat(U.pathname)},"\u627E\u56DE\u5BC6\u7801")," | ",t.a.createElement(s.Link,{onClick:function(){return i()},className:"c-grey-c",to:"/user/register"},"\u6CE8\u518C")))))};d.a=Object(D.a)(function(_){var n=_.user,r=_.loading,u=_.globalSetting;return{user:n,globalSetting:u,loading:r.models.index}})(g)}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[15,14],{Y8AM:function(v,E,e){"use strict";var f=e("sRBo"),i=e("kaz8"),B=e("+L6B"),d=e("2/Rp"),C=e("5NDa"),m=e("5rEg"),L=e("y8nQ"),a=e("Vl3Y"),P=e("tJVT"),c=e("q1tI"),t=e.n(c),y=e("55Ip"),p=e("Ty5D"),h=e("9kvl"),o={height:40},D=function(n){var l=n.onLogin,r=n.dispatch,O=a.a.useForm(),R=Object(P.a)(O,1),s=R[0],g=Object(p.l)();function M(u){l(u),s.resetFields()}var U=function(){r({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return t.a.createElement(a.a,{layout:"vertical",form:s,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/\u8D26\u53F7 "}]},t.a.createElement(m.a,{style:o,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\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:o,visibilityToggle:!1,size:"large",placeholder:"\u5BC6\u7801"})),t.a.createElement(a.a.Item,null,t.a.createElement(d.a,{size:"large",type:"primary",htmlType:"submit",block:!0,style:o},"\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(i.a,null,"\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55")),t.a.createElement("div",null,t.a.createElement(y.Link,{className:"c-grey-c",onClick:function(){return U()},to:"/user/reset-password?from=".concat(g.pathname)},"\u627E\u56DE\u5BC6\u7801")))))};E.a=Object(h.a)(function(_){var n=_.user,l=_.loading,r=_.globalSetting;return{user:n,globalSetting:r,loading:l.models.index}})(D)}}]);
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue