webpackJsonp([42],{MLvt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Dd8w"),o=n.n(i),r=(n("vAZe"),n("NYxO")),a=n("Au9i"),c=n("oFZM"),s={data:function(){return{about_url:""}},computed:o()({},Object(r.e)({isOnline:function(t){return t.auth.isOnline},time:function(t){return t.profile.time},type:function(t){return t.profile.type}}),{isSwitch:{get:function(){return this.$store.state.profile.isSwitch},set:function(){}}}),mounted:function(){var t=this;Object(c.b)().then(function(e){e&&e.site_info&&e.site_info.about_url&&(t.about_url=e.site_info.about_url)},function(t){})},methods:o()({},Object(r.d)({clearToken:"signout",changeOpen:"changeOpen",clearUnreadInfo:"clearUnreadInfo"}),{goBack:function(){this.$router.go(-1)},signout:function(){var t=this;a.MessageBox.confirm("确认退出","").then(function(e){t.clearToken(),t.goBack();for(var n=window.location.host.split(".").slice(-2),i="",o=0;o<n.length;o++){i=i+"."+n[o]}t.$cookie.remove("o",{domain:i}),t.$cookie.remove("t",{domain:i}),t.clearUnreadInfo()})},about:function(){var t=this.about_url;t&&t.length&&this.$router.push({name:"webPage",query:{url:t,title:"关于我们"}})}})},u={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"container"},[i("mt-header",{staticClass:"header",attrs:{title:"设置"}},[i("header-item",{attrs:{slot:"left",isBack:!0},on:{onclick:t.goBack},slot:"left"})],1),t._v(" "),i("div",{staticClass:"settings-body"},[i("ul",[i("li",{on:{click:function(e){t.about()}}},[i("span",[t._v("关于我们")]),t._v(" "),i("img",{attrs:{src:n("TNrS")}})])])]),t._v(" "),t.isOnline?i("gk-button",{staticClass:"button",attrs:{type:"primary"},on:{click:t.signout}},[t._v("退出登录")]):t._e()],1)},staticRenderFns:[]};var l=n("VU/8")(s,u,!1,function(t){n("pbS2"),n("ezvY")},"data-v-4abd946c",null);e.default=l.exports},ezvY:function(t,e){},pbS2:function(t,e){}});
//# sourceMappingURL=42.adbb50e79d1186c42eab.js.map