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/index561.js
import{O as i,f as m}from"./utils-lib.js?v=1777008528";import{c as l,x as u,y as f,e as _,z as d,bm as E}from"./base-lib.js?v=1777008528";import{d as x,j as p,b as y,c as F,f as N}from"./form-item.js?v=1777008528";import{U as v,d as g,g as h,ab as C}from"./page12.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./index110.js?v=1777008528";import"./use-file-editor.js?v=1777008528";import"./index432.js?v=1777008528";function w(){const n={type:1,uri:"",param:"",stype:"url"},{BtForm:r,param:e,validate:a}=i({data:()=>n,options:[x([p("类型","stype",v,{attrs:{class:"!w-[100px] mr-4"}}),y("","uri",{rules:[{required:!0,message:"请输入URL"}],attrs:{placeholder:"/path",class:"flex-1"}})]),F("参数值","param",{attrs:{placeholder:"默认为空参数,如需要填写多个参数一行一个",rows:3,class:"!w-[270px]"}}),p("验证方式","type",g,{attrs:{class:"!w-[160px] mr-4"}}),N("",h.map(s=>({content:s})))]});async function o(){return await a()&&await C(e.value.uri,JSON.stringify(e.value.param.replace(/\n/g,",").split(",").map(t=>t.trim()).filter(t=>t)),e.value.type,e.value.stype)?(m().success("添加成功"),!0):!1}return{BtForm:r,param:e,handleSubmit:o}}const O={class:"p-[20px]"},T=l({__name:"index",setup(n,{expose:r}){const e=E(),a=e==null?void 0:e.appContext.config.globalProperties.close,{BtForm:o,handleSubmit:s}=w();return r({onConfirm:async()=>await s()?(a==null||a(),!0):!1}),(c,t)=>(u(),f("div",O,[_(d(o))]))}});export{T as default};