userInfo.js 2.3 KB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_my/userInfo/userInfo"],{"00cf":function(e,n,t){"use strict";t.r(n);var u=t("f306"),o=t.n(u);for(var r in u)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(r);n["default"]=o.a},"6ec2":function(e,n,t){"use strict";(function(e,n){var u=t("47a9");t("c5a3");u(t("3240"));var o=u(t("cc0d"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},8251:function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return u}));var u={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,"84d4"))},uCell:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-cell/u-cell")]).then(t.bind(null,"9fd3"))}},o=function(){var e=this.$createElement;this._self._c},r=[]},"8ba5":function(e,n,t){"use strict";var u=t("f399"),o=t.n(u);o.a},cc0d:function(e,n,t){"use strict";t.r(n);var u=t("8251"),o=t("00cf");for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);t("8ba5");var c=t("828b"),a=Object(c["a"])(o["default"],u["b"],u["c"],!1,null,"df85f402",null,!1,u["a"],void 0);n["default"]=a.exports},f306:function(e,n,t){"use strict";(function(e){var u=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=u(t("7eb4")),r=u(t("ee10")),c={data:function(){return{userInfoList:[{title:"用户信息",iconName:"account",routerPath:"/pages_my/editUserInfo/editUserInfo"},{title:"修改密码",iconName:"lock-open",routerPath:"/pages_my/editPassword/editPassword"}]}},methods:{goRouter:function(n){e.navigateTo({url:n})},logOut:function(){var n=this;e.showModal({title:"提示",content:"是否退出登录",success:function(){var t=(0,r.default)(o.default.mark((function t(u){return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:u.confirm?n.$store.dispatch("Logout").then((function(n){e.$u.toast("退出成功"),e.navigateTo({url:"/pages/login/index"})})):u.cancel&&e.$u.toast("取消退出");case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()})}}};n.default=c}).call(this,t("df3c")["default"])},f399:function(e,n,t){}},[["6ec2","common/runtime","common/vendor"]]]);