|
@@ -101,22 +101,22 @@ var components
|
|
|
try {
|
|
|
components = {
|
|
|
uvIcon: function () {
|
|
|
- return Promise.all(/*! import() | uni_modules/uv-icon/components/uv-icon/uv-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-icon/components/uv-icon/uv-icon.vue */ 290))
|
|
|
+ return Promise.all(/*! import() | uni_modules/uv-icon/components/uv-icon/uv-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-icon/components/uv-icon/uv-icon.vue */ 305))
|
|
|
},
|
|
|
uvButton: function () {
|
|
|
- return Promise.all(/*! import() | uni_modules/uv-button/components/uv-button/uv-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-button/components/uv-button/uv-button")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-button/components/uv-button/uv-button.vue */ 282))
|
|
|
+ return Promise.all(/*! import() | uni_modules/uv-button/components/uv-button/uv-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-button/components/uv-button/uv-button")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-button/components/uv-button/uv-button.vue */ 297))
|
|
|
},
|
|
|
uvCode: function () {
|
|
|
- return Promise.all(/*! import() | uni_modules/uv-code/components/uv-code/uv-code */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-code/components/uv-code/uv-code")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-code/components/uv-code/uv-code.vue */ 307))
|
|
|
+ return Promise.all(/*! import() | uni_modules/uv-code/components/uv-code/uv-code */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-code/components/uv-code/uv-code")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-code/components/uv-code/uv-code.vue */ 322))
|
|
|
},
|
|
|
uvCheckboxGroup: function () {
|
|
|
- return Promise.all(/*! import() | uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group.vue */ 313))
|
|
|
+ return Promise.all(/*! import() | uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group.vue */ 328))
|
|
|
},
|
|
|
uvCheckbox: function () {
|
|
|
- return Promise.all(/*! import() | uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.vue */ 321))
|
|
|
+ return Promise.all(/*! import() | uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.vue */ 336))
|
|
|
},
|
|
|
uvText: function () {
|
|
|
- return Promise.all(/*! import() | uni_modules/uv-text/components/uv-text/uv-text */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-text/components/uv-text/uv-text")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-text/components/uv-text/uv-text.vue */ 263))
|
|
|
+ return Promise.all(/*! import() | uni_modules/uv-text/components/uv-text/uv-text */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uv-text/components/uv-text/uv-text")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uv-text/components/uv-text/uv-text.vue */ 278))
|
|
|
},
|
|
|
}
|
|
|
} catch (e) {
|
|
@@ -281,7 +281,7 @@ var _validate = __webpack_require__(/*! @/uitls/validate */ 131);
|
|
|
//
|
|
|
var imageCode = function imageCode() {
|
|
|
__webpack_require__.e(/*! require.ensure | components/login/imageCode */ "components/login/imageCode").then((function () {
|
|
|
- return resolve(__webpack_require__(/*! @/components/login/imageCode.vue */ 329));
|
|
|
+ return resolve(__webpack_require__(/*! @/components/login/imageCode.vue */ 344));
|
|
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
|
|
};
|
|
|
var _default = {
|
|
@@ -451,27 +451,28 @@ var _default = {
|
|
|
}
|
|
|
return _context4.abrupt("return");
|
|
|
case 6:
|
|
|
+ uni.setStorageSync('shopMobileToken', loginData.data.shopMobileToken);
|
|
|
uni.setStorageSync('token', loginData.data.token);
|
|
|
if (!wxCode) {
|
|
|
- _context4.next = 12;
|
|
|
+ _context4.next = 13;
|
|
|
break;
|
|
|
}
|
|
|
- _context4.next = 10;
|
|
|
+ _context4.next = 11;
|
|
|
return (0, _login2.getOpenId)(wxCode);
|
|
|
- case 10:
|
|
|
+ case 11:
|
|
|
wxData = _context4.sent;
|
|
|
if (wxData.state) uni.setStorageSync('openId', wxData.data.openid);
|
|
|
- case 12:
|
|
|
- _context4.next = 14;
|
|
|
+ case 13:
|
|
|
+ _context4.next = 15;
|
|
|
return (0, _login2.getUserInfo)();
|
|
|
- case 14:
|
|
|
+ case 15:
|
|
|
userData = _context4.sent;
|
|
|
if (userData.state) {
|
|
|
- _context4.next = 17;
|
|
|
+ _context4.next = 18;
|
|
|
break;
|
|
|
}
|
|
|
return _context4.abrupt("return");
|
|
|
- case 17:
|
|
|
+ case 18:
|
|
|
_this5.$store.dispatch('app/changeOrganization', userData.data.workarkOrganization);
|
|
|
_this5.$store.dispatch('app/changeUser', userData.data);
|
|
|
_this5.$chat.connect('workark' + userData.data.userId);
|
|
@@ -479,7 +480,7 @@ var _default = {
|
|
|
uni.hideLoading();
|
|
|
_this5.$toast('登录成功');
|
|
|
uni.navigateBack();
|
|
|
- case 24:
|
|
|
+ case 25:
|
|
|
case "end":
|
|
|
return _context4.stop();
|
|
|
}
|