(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["my/setting/index"],{300:function(e,n,t){"use strict";(function(e){t(5);o(t(4));var n=o(t(301));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t(1)["createPage"])},301:function(e,n,t){"use strict";t.r(n);var o=t(302),r=t(304);for(var c in r)"default"!==c&&function(e){t.d(n,e,(function(){return r[e]}))}(c);t(306);var u,a=t(11),i=Object(a["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],u);i.options.__file="my/setting/index.vue",n["default"]=i.exports},302:function(e,n,t){"use strict";t.r(n);var o=t(303);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},303:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return u})),t.d(n,"recyclableRender",(function(){return c})),t.d(n,"components",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},c=!1,u=[];r._withStripped=!0},304:function(e,n,t){"use strict";t.r(n);var o=t(305),r=t.n(o);for(var c in o)"default"!==c&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=r.a},305:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{XCXIsSelect:"是",checked:!0}},onLoad:function(){this.XCXIsSelect=this.$queue.getData("XCXIsSelect")?this.$queue.getData("XCXIsSelect"):"是",this.getUserInfo()},methods:{change:function(e){var n=this;this.checked=e,this.$Request.post("/app/user/updateSendMsg",{isSendMsg:1==this.checked?1:2}).then((function(e){0===e.code&&(n.content=e.data.value)}))},getUserInfo:function(){var e=this;this.$Request.get("/app/user/selectUserById").then((function(n){0==n.code&&(e.checked=null==n.data.isSendMsg||1==n.data.isSendMsg)}))},goNav:function(n){e.navigateTo({url:n})},goOut:function(){e.showModal({title:"提示",content:"确定退出登录吗？",success:function(n){n.confirm?(console.log("用户点击确定"),e.removeStorageSync("userName"),e.removeStorageSync("avatar"),e.removeStorageSync("userId"),e.removeStorageSync("token"),e.removeStorageSync("phone"),e.removeStorageSync("zhiFuBaoName"),e.removeStorageSync("zhiFuBao"),e.removeStorageSync("invitationCode"),e.removeStorageSync("unionId"),e.removeStorageSync("openId"),e.removeStorageSync("isVIP"),e.removeStorageSync("wxCode"),e.removeStorageSync("wxQrCode"),e.removeStorageSync("sex"),e.showToast({title:"退出成功！",icon:"none"}),setTimeout((function(){e.navigateBack()}),1e3)):n.cancel&&console.log("用户点击取消")}})}}};n.default=t}).call(this,t(1)["default"])},306:function(e,n,t){"use strict";t.r(n);var o=t(307),r=t.n(o);for(var c in o)"default"!==c&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=r.a},307:function(e,n,t){}},[[300,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/my/setting/index.js.map