xuyonghao 1 năm trước cách đây
mục cha
commit
9a1541b91e

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Knowledge-BpPPyg20.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Knowledge-BwxZwfOI.css


+ 1 - 0
dist/assets/Login-CsInY4Ao.js

@@ -0,0 +1 @@
+import{_ as g}from"./login-VH6pjdPe.js";import{_,d as f,f as r,o as w,c as h,b as o,g as p,r as u,i as k,p as v,l as V}from"./index-hSD2lcr4.js";const $=f({components:{},props:[],setup(){const{ajax:e,helper:s}=k("$global"),a=u("user"),i=u("123");return{login:async()=>{const t=await e.user.login(a.value,i.value);t&&(s.write("userName",t.nickname||t.username),s.write("token",t.access_token),s.goLink("/"))},username:a,password:i,goRegister:()=>{s.goLink("register")}}}}),l=e=>(v("data-v-372350ef"),e=e(),V(),e),y=l(()=>o("header",null,[o("img",{src:g}),o("p",null,"欢迎使用")],-1)),C=l(()=>o("p",null,"账号登录",-1)),I=l(()=>o("p",null,"账号",-1)),R=l(()=>o("p",null,"密码",-1));function B(e,s,a,i,d,c){const t=r("a-input"),m=r("a-input-password");return w(),h("main",null,[o("section",null,[y,C,o("section",null,[I,o("div",null,[p(t,{placeholder:"请输入手机号",style:{width:"250px",height:"40px"},modelValue:e.username,"onUpdate:modelValue":s[0]||(s[0]=n=>e.username=n)},null,8,["modelValue"])])]),o("section",null,[R,o("div",null,[p(m,{placeholder:"请输入手机号",style:{width:"250px",height:"40px"},modelValue:e.password,"onUpdate:modelValue":s[1]||(s[1]=n=>e.password=n)},null,8,["modelValue"])])]),o("section",null,[o("p",{style:{cursor:"pointer"},onClick:s[2]||(s[2]=(...n)=>e.goRegister&&e.goRegister(...n))},"去注册")]),o("div",{onClick:s[3]||(s[3]=(...n)=>e.login&&e.login(...n))},"登录")])])}const S=_($,[["render",B],["__scopeId","data-v-372350ef"]]);export{S as default};

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Login-D7PnYrsY.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Register-BzzEKOtl.css


+ 1 - 0
dist/assets/Register-DgnsAAtA.js

@@ -0,0 +1 @@
+import{_}from"./login-VH6pjdPe.js";import{_ as g,d as f,f as p,o as h,c as w,b as s,g as i,r as d,i as v,p as V,l as $}from"./index-hSD2lcr4.js";const k=f({components:{},props:[],setup(){const{ajax:e,helper:o}=v("$global"),l=d(""),a=d("");return{register:async()=>{const r=await e.user.register(l.value,a.value);r&&(o.write("userName",String(r.username)),o.goLink("/login"))},username:l,password:a}}}),t=e=>(V("data-v-266cfe52"),e=e(),$(),e),y=t(()=>s("header",null,[s("img",{src:_}),s("p",null,"欢迎使用")],-1)),I=t(()=>s("p",null,"账号注册",-1)),S=t(()=>s("p",null,"账号",-1)),B=t(()=>s("p",null,"密码",-1));function C(e,o,l,a,u,r){const c=p("a-input"),m=p("a-input-password");return h(),w("main",null,[s("section",null,[y,I,s("section",null,[S,s("div",null,[i(c,{placeholder:"请输入账号",style:{width:"250px",height:"40px"},modelValue:e.username,"onUpdate:modelValue":o[0]||(o[0]=n=>e.username=n)},null,8,["modelValue"])])]),s("section",null,[B,s("div",null,[i(m,{type:"password",placeholder:"请输入密码",style:{width:"250px",height:"40px"},modelValue:e.password,"onUpdate:modelValue":o[1]||(o[1]=n=>e.password=n)},null,8,["modelValue"])])]),s("div",{onClick:o[2]||(o[2]=(...n)=>e.register&&e.register(...n))},"注册")])])}const j=g(k,[["render",C],["__scopeId","data-v-266cfe52"]]);export{j as default};

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/index-Z2OLFqAP.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 5 - 0
dist/assets/index-hSD2lcr4.js


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác