All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.webjars.js.chunk-2d213307.18c76c66.js Maven / Gradle / Ivy

The newest version!
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d213307"],{ac2a:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{"padding-top":"200px"}},[n("div",{staticStyle:{width:"40%",margin:"0 auto"}},[n("el-form",[n("el-form-item",{attrs:{label:"账号"}},[n("el-input",{attrs:{placeholder:"账号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.doLogin(t)}},model:{value:e.user.account,callback:function(t){e.$set(e.user,"account",t)},expression:"user.account"}})],1),n("el-form-item",{attrs:{label:"密码"}},[n("el-input",{attrs:{placeholder:"密码",type:"password"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.doLogin(t)}},model:{value:e.user.password,callback:function(t){e.$set(e.user,"password",t)},expression:"user.password"}})],1),n("el-button",{attrs:{type:"primary"},on:{click:e.doLogin}},[e._v("登录")])],1)],1)])},r=[],s={data:function(){return{user:{account:null,password:null}}},created:function(){localStorage.getItem("system_token")&&this.$router.go(-1)},methods:{doLogin:function(){var e=this;this.$axios.post("page/static/login",this.user).then((function(t){localStorage.setItem("system_token",t),e.$router.push("/files")}))}}},a=s,l=n("2877"),u=Object(l["a"])(a,o,r,!1,null,null,null);t["default"]=u.exports}}]);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy