You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
3.3 KiB
1 line
3.3 KiB
5 months ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["user/pages/logout"],{1578:function(e,t,n){"use strict";n.r(t);var r=n("ac13"),o=n("c3d0");for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("2ff6");var u=n("828b"),i=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);t["default"]=i.exports},"2ff6":function(e,t,n){"use strict";var r=n("9713"),o=n.n(r);o.a},"82f0":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("7eb4")),a=r(n("7ca3")),u=r(n("ee10")),i=n("8f59");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={data:function(){return{isLoad:!1,options:{},text:"1、账号将无法登录<br>2、历史订单将无法查询<br>3、放弃钱余额、卡券等资产<br>",user_info:{}}},computed:(0,i.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor},userInfo:function(e){return e.user.userInfo}}),onLoad:function(){var e=this;return(0,u.default)(o.default.mark((function t(){return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$util.setNavigationBarColor({bg:e.primaryColor});case 1:case"end":return t.stop()}}),t)})))()},methods:f(f(f({},(0,i.mapActions)(["getUserInfo"])),(0,i.mapMutations)(["updateUserItem","updateServiceItem","updateTechnicianItem","updateOrderItem"])),{},{toLoginOut:function(){var e=this;return(0,u.default)(o.default.mark((function t(){var n,r;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$api.user.delUserInfo();case 2:e.$util.showToast({title:"注销成功"}),n=["updateServiceItem","updateTechnicianItem","updateOrderItem"],n.map((function(t){e[t]({key:"pageActive",val:!1})})),r=["autograph","userInfo","location","appLogin","loginType","isGzhLogin","isShowLogin","mineInfo","coachInfo","userPageType"],r.map((function(t){e.updateUserItem({key:t,val:"isShowLogin"===t||("userPageType"===t?1:"")})})),setTimeout((function(){e.$util.goUrl({url:"/pages/service",openType:"reLaunch"})}),1e3);case 8:case"end":return t.stop()}}),t)})))()}})};t.default=s},9713:function(e,t,n){},ac13:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var r=function(){var e=this.$createElement;this._self._c},o=[]},bfa6:function(e,t,n){"use strict";(function(e,t){var r=n("47a9");n("7043");r(n("3240"));var o=r(n("1578"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},c3d0:function(e,t,n){"use strict";n.r(t);var r=n("82f0"),o=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=o.a}},[["bfa6","common/runtime","common/vendor"]]]);
|