my.js 3.4 KB

12
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my/my"],{186:function(n,e,t){"use strict";(function(n,e){var o=t(4);t(26);o(t(25));var r=o(t(187));n.__webpack_require_UNI_MP_PLUGIN__=t,e(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},187:function(n,e,t){"use strict";t.r(e);var o=t(188),r=t(190);for(var u in r)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(u);t(192);var c,a=t(32),i=Object(a["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"0be17cc6",null,!1,o["components"],c);i.options.__file="pages/my/my.vue",e["default"]=i.exports},188:function(n,e,t){"use strict";t.r(e);var o=t(189);t.d(e,"render",(function(){return o["render"]})),t.d(e,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(e,"components",(function(){return o["components"]}))},189:function(n,e,t){"use strict";var o;t.r(e),t.d(e,"render",(function(){return r})),t.d(e,"staticRenderFns",(function(){return c})),t.d(e,"recyclableRender",(function(){return u})),t.d(e,"components",(function(){return o}));try{o={uCellGroup:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-cell-group/u-cell-group")]).then(t.bind(null,297))},uCell:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-cell/u-cell")]).then(t.bind(null,305))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,288))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var n=this,e=n.$createElement;n._self._c},u=!1,c=[];r._withStripped=!0},190:function(n,e,t){"use strict";t.r(e);var o=t(191),r=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=r.a},191:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(165),r={data:function(){return{avatarUrl:"../../static/avatar.png",companyName:""}},methods:{onChooseAvatar:function(e){this.avatarUrl=e.detail.avatarUrl,n.setStorageSync("avatarUrl",this.avatarUrl)},loginOut:function(){n.showModal({title:"提示",content:"确定退出吗?",success:function(e){e.confirm&&n.showToast({title:"操作成功",icon:"none",duration:800,mask:!0,success:function(){setTimeout((function(){n.removeStorageSync("openId"),n.removeStorageSync("userInfo"),n.removeStorageSync("token"),n.navigateTo({url:"/pages/login/index"})}),800)}})}})}},onShow:function(){var e=this,t=n.getStorageSync("avatarUrl");t&&(this.avatarUrl=t),(0,o.getUserInfo)().then((function(n){e.companyName=n.data.companyName})).catch((function(n){}))}};e.default=r}).call(this,t(2)["default"])},192:function(n,e,t){"use strict";t.r(e);var o=t(193),r=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=r.a},193:function(n,e,t){}},[[186,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/my/my.js.map