forked from MarSeventh/CloudFlare-ImgBed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
360.3c54ef78.js
2 lines (2 loc) · 1.17 KB
/
360.3c54ef78.js
1
2
"use strict";(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[360],{8360:function(s,e,n){n.r(e),n.d(e,{default:function(){return g}});var t=n(6768),a=n(5130);const o=s=>((0,t.Qi)("data-v-7d4cc810"),s=s(),(0,t.jt)(),s),u={class:"login"},d={class:"login-container"},l=o((()=>(0,t.Lk)("h1",null,"Login",-1)));function r(s,e,n,o,r,i){const p=(0,t.g2)("el-input"),c=(0,t.g2)("el-button");return(0,t.uX)(),(0,t.CE)("div",u,[(0,t.Lk)("div",d,[l,(0,t.bF)(p,{class:"password-input",modelValue:r.password,"onUpdate:modelValue":e[0]||(e[0]=s=>r.password=s),placeholder:"输入认证码,若未设置留空即可~",type:"password","show-password":"",onKeyup:(0,a.jR)(i.login,["enter","native"])},null,8,["modelValue","onKeyup"]),(0,t.bF)(c,{class:"submit",type:"primary",onClick:i.login},{default:(0,t.k6)((()=>[(0,t.eW)("submit")])),_:1},8,["onClick"])])])}n(4114);var i=n(4570),p=n.n(i),c={data(){return{password:""}},methods:{login(){""===this.password&&(this.password="unset"),p().set("authCode",this.password,"14d"),this.$router.push("/")}}},h=n(1241);const w=(0,h.A)(c,[["render",r],["__scopeId","data-v-7d4cc810"]]);var g=w}}]);
//# sourceMappingURL=360.3c54ef78.js.map