webpackJsonp([5],{fg81:function(e,t){},lmfZ:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r("mvHQ"),o=r.n(s),n=(r("ittK"),r("zL8q")),a={data:function(){return{logining:!1,form:{username:"reng99",password:"123456"},hintMsg:{username:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]},checked:!0}},created:function(){},methods:{login:function(){var e=this;""==e.form.username.trim()?Object(n.Message)({type:"warning",message:"输入的用户名不正确哦",duration:1500}):(e.logining=!0,sessionStorage.setItem("user",o()(e.form.username)),setTimeout(function(){e.$router.push({path:"/"})},1500))}}},i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-form",{ref:"hintMsg",staticClass:"demo-ruleForm login-container",attrs:{model:e.form,rules:e.hintMsg,"label-position":"left","label-width":"0px"}},[r("h3",{staticClass:"title"},[e._v("GITHUB登录")]),e._v(" "),r("el-form-item",{attrs:{prop:"account"}},[r("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}})],1),e._v(" "),r("el-form-item",{attrs:{prop:"checkPass"}},[r("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1),e._v(" "),r("el-checkbox",{staticClass:"remember",attrs:{checked:""},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}},[e._v("记住密码")]),e._v(" "),r("el-form-item",{staticStyle:{width:"100%"}},[r("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary",loading:e.logining},nativeOn:{click:function(t){return t.preventDefault(),e.login(t)}}},[e._v("登录")])],1)],1)},staticRenderFns:[]};var l=r("VU/8")(a,i,!1,function(e){r("fg81")},"data-v-7cc4909c",null);t.default=l.exports}});
//# sourceMappingURL=5.5b3fec3eccc67912f784.js.map