zhangxiaoxu123456
2021-12-20 301289e539c417995f95f5cb91fd1f6043bb7cfd
1
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{"36af":function(n,e,t){"use strict";var o=t("3c7e"),u=t.n(o);u.a},"3b3c":function(n,e,t){"use strict";t.r(e);var o=t("782c"),u=t("fffa");for(var i in u)"default"!==i&&function(n){t.d(e,n,(function(){return u[n]}))}(i);t("36af");var a,r=t("f0c5"),s=Object(r["a"])(u["default"],o["b"],o["c"],!1,null,"3d4ec484",null,!1,o["a"],a);e["default"]=s.exports},"3c7e":function(n,e,t){},"782c":function(n,e,t){"use strict";t.d(e,"b",(function(){return u})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){return o}));var o={uForm:function(){return t.e("uview-ui/components/u-form/u-form").then(t.bind(null,"d071"))},uFormItem:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-form-item/u-form-item")]).then(t.bind(null,"e574"))},uInput:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-input/u-input")]).then(t.bind(null,"5418"))},uButton:function(){return t.e("uview-ui/components/u-button/u-button").then(t.bind(null,"f2e9"))}},u=function(){var n=this,e=n.$createElement;n._self._c},i=[]},b598:function(n,e,t){"use strict";(function(n){t("b0f1");o(t("66fd"));var e=o(t("3b3c"));function o(n){return n&&n.__esModule?n:{default:n}}n(e.default)}).call(this,t("543d")["createPage"])},fe8f:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={data:function(){return{valiFormData:{loginName:"",password:"",openid:""},rules:{loginName:[{required:!0,message:"账号不能为空",trigger:["change","blur"]}],password:[{required:!0,min:6,message:"密码长度不能小于6个字符",trigger:["change","blur"]}]},showPassword:!1,type_text:"text",type_password:"password",psdType:"password"}},onLoad:function(n){console.log("options----",n),n.openid&&(this.valiFormData.openid=n.openid)},onReady:function(){this.$refs.valiFormData.setRules(this.rules)},methods:{changePassword:function(){this.showPassword=!this.showPassword},appLoginWx:function(e){var t=this;this.$refs.valiFormData.validate((function(e){e&&(console.log(" this.valiFormData.loginName----",t),t.$u.api.loginIndex(t.valiFormData).then((function(e){console.log("this.valiFormData----",t.valiFormData),e.success&&(t.setStore("userInfo",e.obj),n.switchTab({url:"/pages/learn/learn"}))})))}))}}};e.default=t}).call(this,t("543d")["default"])},fffa:function(n,e,t){"use strict";t.r(e);var o=t("fe8f"),u=t.n(o);for(var i in o)"default"!==i&&function(n){t.d(e,n,(function(){return o[n]}))}(i);e["default"]=u.a}},[["b598","common/runtime","common/vendor"]]]);