(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[74],{Bpwc:function(t,e,n){"use strict";n.r(e);n("smr7");var a,r,i=n("DlTu"),c=n("9og8"),o=n("fWQN"),p=n("mtLc"),s=n("yKVA"),u=n("879j"),d=n("WmNS"),l=n.n(d),y=n("q1tI"),g=n.n(y),b=n("/MKj"),f=n("Ty5D"),h=(a=Object(b["c"])((function(t){var e=t.bsmSetting;return{bsmSetting:e}})),Object(f["n"])(r=a(r=function(t){Object(s["a"])(n,t);var e=Object(u["a"])(n);function n(){var t;Object(o["a"])(this,n);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r)),t.init=Object(c["a"])(l.a.mark((function e(){var n,a,r,i,c,o;return l.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.props,a=n.dispatch,r=n.location.query,i=r.code,c=r.appid,o=n.bsmSetting.third_party_provider,"wechat"!==o){e.next=4;break}return e.next=4,a({type:"login/login",payload:{code:i,appid:c,type:"weChatWork"}});case 4:if("dingding"!==o){e.next=7;break}return e.next=7,a({type:"login/login",payload:{code:i,type:"ddLogin"}});case 7:case"end":return e.stop()}}),e)}))),t}return Object(p["a"])(n,[{key:"componentDidMount",value:function(){var t=this.props.dispatch;t({type:"bsmSetting/getSettings"}).then(this.init)}},{key:"render",value:function(){return g.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginTop:80}},g.a.createElement(i["a"],{size:"large"}))}}]),n}(y["Component"]))||r)||r);e["default"]=h}}]);