HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/index263.js
import{c as w,r as x,H as i,n as V,j as b,k as E,e as o,v as l,p as a,T as k,ad as y,ab as z}from"./base-lib.js?v=1777008528";import{dg as B,dh as C,f as T}from"./utils-lib.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";const U={class:"w-[38rem] px-[5rem] py-[3rem]"},P=w({__name:"index",emits:["resize"],setup(h,{expose:d,emit:f}){const p=T(),_=f,m=x(null),r=i({username1:"",username2:""}),c=i({username1:[{required:!0,message:"请输入用户名",trigger:"blur"},{min:4,message:"用户名长度必须大于3位",trigger:"blur"}],username2:[{validator:(t,e,s)=>{e===""?s(new Error("请再次输入用户名")):e!==r.username1?s(new Error("两次输入的用户名不一致")):s()},trigger:"blur"}]}),g=()=>{var t;(t=m.value)==null||t.validate(async e=>{if(!e)return;const s=await B(r);p.request(s),s.status&&C("/login?dologin=True")})};return V(()=>{_("resize")}),d({onConfirm:g}),(t,e)=>{const s=k,u=y,v=z;return b(),E("div",U,[o(v,{ref_key:"formRef",ref:m,size:"small","label-width":"4.6rem",autocomplete:"off",model:a(r),rules:a(c)},{default:l(()=>[o(u,{label:"用户名",prop:"username1"},{default:l(()=>[o(s,{modelValue:a(r).username1,"onUpdate:modelValue":e[0]||(e[0]=n=>a(r).username1=n)},null,8,["modelValue"])]),_:1}),o(u,{class:"!mb-0",label:"重复",prop:"username2"},{default:l(()=>[o(s,{modelValue:a(r).username2,"onUpdate:modelValue":e[1]||(e[1]=n=>a(r).username2=n)},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])])}}});export{P as default};