"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[60547],{26959:function(n,e,t){t.r(e),t.d(e,{default:function(){return v}});var o=t(7557),a=t.n(o),c=t(41498),i=t.n(c),l=t(39647),s=t.n(l),u=t(59301),r=t(49389),d="bg___lB_B_",g="wrap___GGUEr",f=t(37712),p=["user","account","globalSetting","loading","dispatch"],v=(0,r.connect)((function(n){var e=n.user,t=n.account,o=n.loading;return{user:e,account:t,globalSetting:n.globalSetting,loading:o.models.index}}))((function(n){var e,t=n.user,o=(n.account,n.globalSetting,n.loading,n.dispatch);s()(n,p),(0,r.useLocation)();return(0,u.useEffect)((function(){var n;null!==(n=t.userInfo)&&void 0!==n&&n.login&&i()(a()().mark((function n(){var e,c;return a()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,o({type:"account/getBasicInfo",payload:{login:null===(e=t.userInfo)||void 0===e?void 0:e.login}});case 2:null!=(c=n.sent)&&c.base_info_completed||"0"===localStorage.getItem("Noviceguide")||o({type:"shixunHomeworks/setActionTabs",payload:{key:"底部弹窗",type:3,text:(0,f.jsx)("div",{children:"请您完善一下平台的基本信息，包括：昵称、职业、学校/单位，       点击保存"})}});case 4:case"end":return n.stop()}}),n)})))()}),[null===(e=t.userInfo)||void 0===e?void 0:e.login]),(0,f.jsx)("section",{className:d,children:(0,f.jsx)("div",{className:g,children:(0,f.jsx)(r.Outlet,{})})})}))}}]);