set.js 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. (global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/set/set" ], {
  2. 101: function(n, e, t) {
  3. (function(n) {
  4. function e(n) {
  5. return n && n.__esModule ? n : {
  6. default: n
  7. };
  8. }
  9. t(4), e(t(2)), n(e(t(102)).default);
  10. }).call(this, t(1).createPage);
  11. },
  12. 102: function(n, e, t) {
  13. t.r(e);
  14. var o = t(103), r = t(105);
  15. for (var c in r) "default" !== c && function(n) {
  16. t.d(e, n, function() {
  17. return r[n];
  18. });
  19. }(c);
  20. t(107);
  21. var i = t(13), u = Object(i.default)(r.default, o.render, o.staticRenderFns, !1, null, null, null, !1, o.components, void 0);
  22. u.options.__file = "pages/set/set.vue", e.default = u.exports;
  23. },
  24. 103: function(n, e, t) {
  25. t.r(e);
  26. var o = t(104);
  27. t.d(e, "render", function() {
  28. return o.render;
  29. }), t.d(e, "staticRenderFns", function() {
  30. return o.staticRenderFns;
  31. }), t.d(e, "recyclableRender", function() {
  32. return o.recyclableRender;
  33. }), t.d(e, "components", function() {
  34. return o.components;
  35. });
  36. },
  37. 104: function(n, e, t) {
  38. var o;
  39. t.r(e), t.d(e, "render", function() {
  40. return r;
  41. }), t.d(e, "staticRenderFns", function() {
  42. return i;
  43. }), t.d(e, "recyclableRender", function() {
  44. return c;
  45. }), t.d(e, "components", function() {
  46. return o;
  47. });
  48. try {
  49. o = {
  50. uniList: function() {
  51. return t.e("components/uni-list/uni-list").then(t.bind(null, 483));
  52. },
  53. uniListItem: function() {
  54. return t.e("components/uni-list-item/uni-list-item").then(t.bind(null, 490));
  55. }
  56. };
  57. } catch (n) {
  58. if (-1 === n.message.indexOf("Cannot find module") || -1 === n.message.indexOf(".vue")) throw n;
  59. console.error(n.message), console.error("1. 排查组件名称拼写是否正确"), console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),
  60. console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件");
  61. }
  62. var r = function() {
  63. var n = this;
  64. n.$createElement;
  65. n._self._c;
  66. }, c = !1, i = [];
  67. r._withStripped = !0;
  68. },
  69. 105: function(n, e, t) {
  70. t.r(e);
  71. var o = t(106), r = t.n(o);
  72. for (var c in o) "default" !== c && function(n) {
  73. t.d(e, n, function() {
  74. return o[n];
  75. });
  76. }(c);
  77. e.default = r.a;
  78. },
  79. 106: function(n, e, t) {
  80. (function(n) {
  81. function o(n, e) {
  82. var t = Object.keys(n);
  83. if (Object.getOwnPropertySymbols) {
  84. var o = Object.getOwnPropertySymbols(n);
  85. e && (o = o.filter(function(e) {
  86. return Object.getOwnPropertyDescriptor(n, e).enumerable;
  87. })), t.push.apply(t, o);
  88. }
  89. return t;
  90. }
  91. function r(n) {
  92. for (var e = 1; e < arguments.length; e++) {
  93. var t = null != arguments[e] ? arguments[e] : {};
  94. e % 2 ? o(Object(t), !0).forEach(function(e) {
  95. c(n, e, t[e]);
  96. }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : o(Object(t)).forEach(function(e) {
  97. Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(t, e));
  98. });
  99. }
  100. return n;
  101. }
  102. function c(n, e, t) {
  103. return e in n ? Object.defineProperty(n, e, {
  104. value: t,
  105. enumerable: !0,
  106. configurable: !0,
  107. writable: !0
  108. }) : n[e] = t, n;
  109. }
  110. Object.defineProperty(e, "__esModule", {
  111. value: !0
  112. }), e.default = void 0;
  113. var i = t(46), u = {
  114. components: {
  115. uniList: function() {
  116. t.e("components/uni-list/uni-list").then(function() {
  117. return resolve(t(483));
  118. }.bind(null, t)).catch(t.oe);
  119. },
  120. uniListItem: function() {
  121. t.e("components/uni-list-item/uni-list-item").then(function() {
  122. return resolve(t(490));
  123. }.bind(null, t)).catch(t.oe);
  124. }
  125. },
  126. data: function() {
  127. return {};
  128. },
  129. methods: r(r({}, (0, t(6).mapMutations)("user", [ "logout" ])), {}, {
  130. navTo: function(e) {
  131. n.navigateTo({
  132. url: e
  133. });
  134. },
  135. toLogout: function() {
  136. var e = this;
  137. n.showModal({
  138. content: "确定要退出登录么",
  139. success: function(t) {
  140. t.confirm && (e.logout(), (0, i.logout)({}).then(function(e) {
  141. n.navigateBack();
  142. }).catch(function(n) {
  143. console.log(n);
  144. }));
  145. }
  146. });
  147. },
  148. switchChange: function(n) {
  149. console.log(n);
  150. var e = n.value ? "打开" : "关闭";
  151. this.$api.msg("".concat(e, "消息推送"));
  152. }
  153. })
  154. };
  155. e.default = u;
  156. }).call(this, t(1).default);
  157. },
  158. 107: function(n, e, t) {
  159. t.r(e);
  160. var o = t(108), r = t.n(o);
  161. for (var c in o) "default" !== c && function(n) {
  162. t.d(e, n, function() {
  163. return o[n];
  164. });
  165. }(c);
  166. e.default = r.a;
  167. },
  168. 108: function(n, e, t) {}
  169. }, [ [ 101, "common/runtime", "common/vendor" ] ] ]);