| 12 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/index"],{89:function(n,e,t){"use strict";(function(n,e){var r=t(4);t(26);r(t(25));var o=r(t(90));n.__webpack_require_UNI_MP_PLUGIN__=t,e(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},90:function(n,e,t){"use strict";t.r(e);var r=t(91),o=t(93);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);t(95);var i,s=t(40),a=Object(s["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"4586967a",null,!1,r["components"],i);a.options.__file="pages/login/index.vue",e["default"]=a.exports},91:function(n,e,t){"use strict";t.r(e);var r=t(92);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},92:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return o})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return u})),t.d(e,"components",(function(){return r}));try{r={uniForms:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-forms/components/uni-forms/uni-forms")]).then(t.bind(null,259))},uniFormsItem:function(){return t.e("uni_modules/uni-forms/components/uni-forms-item/uni-forms-item").then(t.bind(null,272))},uniEasyinput:function(){return t.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(t.bind(null,252))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var n=this,e=n.$createElement;n._self._c},u=!1,i=[];o._withStripped=!0},93:function(n,e,t){"use strict";t.r(e);var r=t(94),o=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(u);e["default"]=o.a},94:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(37),o=t(36),u={data:function(){return{rules:{username:{rules:[{required:!0,errorMessage:"请填写账号"}],validateTrigger:"submit"},password:{rules:[{required:!0,errorMessage:"请填写密码"}],validateTrigger:"submit"}},form:{username:"",password:""}}},methods:{submit:function(){var e=this;this.$refs.form.validate().then((function(t){(0,r.login)(e.form).then((function(e){var t=e.data.accessToken;(0,o.setToken)(t),n.setStorageSync("accountInfo",e.data.user),n.reLaunch({url:"/pages/index/index"})}))})).catch((function(e){n.showToast({icon:"none",title:"请检查填写信息!"})}))}}};e.default=u}).call(this,t(2)["default"])},95:function(n,e,t){"use strict";t.r(e);var r=t(96),o=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(u);e["default"]=o.a},96:function(n,e,t){}},[[89,"common/runtime","common/vendor"]]]);
- //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/index.js.map
|