123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- (global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/set/userinfo" ], {
- 109: function(e, n, t) {
- (function(e) {
- function n(e) {
- return e && e.__esModule ? e : {
- default: e
- };
- }
- t(4), n(t(2)), e(n(t(110)).default);
- }).call(this, t(1).createPage);
- },
- 110: function(e, n, t) {
- t.r(n);
- var r = t(111), o = t(113);
- for (var u in o) "default" !== u && function(e) {
- t.d(n, e, function() {
- return o[e];
- });
- }(u);
- t(115);
- var c = t(13), i = Object(c.default)(o.default, r.render, r.staticRenderFns, !1, null, null, null, !1, r.components, void 0);
- i.options.__file = "pages/set/userinfo.vue", n.default = i.exports;
- },
- 111: function(e, n, t) {
- t.r(n);
- var r = t(112);
- t.d(n, "render", function() {
- return r.render;
- }), t.d(n, "staticRenderFns", function() {
- return r.staticRenderFns;
- }), t.d(n, "recyclableRender", function() {
- return r.recyclableRender;
- }), t.d(n, "components", function() {
- return r.components;
- });
- },
- 112: function(e, n, t) {
- t.r(n), t.d(n, "render", function() {
- return r;
- }), t.d(n, "staticRenderFns", function() {
- return u;
- }), t.d(n, "recyclableRender", function() {
- return o;
- }), t.d(n, "components", function() {});
- var r = function() {
- var e = this;
- e.$createElement;
- e._self._c;
- }, o = !1, u = [];
- r._withStripped = !0;
- },
- 113: function(e, n, t) {
- t.r(n);
- var r = t(114), o = t.n(r);
- for (var u in r) "default" !== u && function(e) {
- t.d(n, e, function() {
- return r[e];
- });
- }(u);
- n.default = o.a;
- },
- 114: function(e, n, t) {
- (function(e) {
- function r(e, n) {
- var t = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- n && (r = r.filter(function(n) {
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
- })), t.push.apply(t, r);
- }
- return t;
- }
- function o(e, n, t) {
- return n in e ? Object.defineProperty(e, n, {
- value: t,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[n] = t, e;
- }
- Object.defineProperty(n, "__esModule", {
- value: !0
- }), n.default = void 0;
- var u = t(6), c = t(46), i = {
- data: function() {
- return {
- name: ""
- };
- },
- computed: function(e) {
- for (var n = 1; n < arguments.length; n++) {
- var t = null != arguments[n] ? arguments[n] : {};
- n % 2 ? r(Object(t), !0).forEach(function(n) {
- o(e, n, t[n]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : r(Object(t)).forEach(function(n) {
- Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
- });
- }
- return e;
- }({}, (0, u.mapState)("user", [ "userInfo" ])),
- onShow: function(e) {
- this.name = this.userInfo.nickname + "";
- },
- methods: {
- switchChange: function(e) {
- this.addressData.default = e.value;
- },
- confirm: function() {
- var n = this;
- (0, c.userEdit)({
- nickname: this.name,
- avatar: this.userInfo.avatar
- }).then(function(t) {
- n.$api.msg("修改成功"), setTimeout(function() {
- e.switchTab({
- url: "/pages/user/user"
- });
- }, 1e3), console.log(t);
- }).catch(function(e) {
- console.log(e);
- });
- }
- }
- };
- n.default = i;
- }).call(this, t(1).default);
- },
- 115: function(e, n, t) {
- t.r(n);
- var r = t(116), o = t.n(r);
- for (var u in r) "default" !== u && function(e) {
- t.d(n, e, function() {
- return r[e];
- });
- }(u);
- n.default = o.a;
- },
- 116: function(e, n, t) {}
- }, [ [ 109, "common/runtime", "common/vendor" ] ] ]);
|