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/add-script-legacy.js
!function(){function e(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,l){if(e){if("string"==typeof e)return n(e,l);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,l):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var l=0,t=Array(n);l<n;l++)t[l]=e[l];return t}System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy130.js?v=1777008528","./index-legacy77.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./ace-legacy.js?v=1777008528","./index-legacy118.js?v=1777008528","./index-legacy217.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528","./index-legacy206.js?v=1777008528","./form-item-legacy.js?v=1777008528","./useController-legacy9.js?v=1777008528","./useStore-legacy12.js?v=1777008528"],function(n,l){"use strict";var t,r,u,a,o,i,c,s,d,f,p,m,y,g,b,j,h,_,v;return{setters:[function(e){t=e.cO,r=e.cP},function(e){u=e.c,a=e.j,o=e.k,i=e.e,c=e.v,s=e.p,d=e.x,f=e.q,p=e.ad,m=e.ak,y=e.aj,g=e.ab},function(e){b=e.B},function(e){j=e.a,h=e.b,_=e.c,v=e.h},null,null,null,null,null,null,null,null,null,null,null],execute:function(){var l={class:"p-20px"},x={class:"h-[32rem]"};n("default",u({__name:"add-script",setup:function(n){return function(n,u){var V=t,S=p,A=m,w=y,U=b,k=g,I=r;return a(),o("div",l,[i(k,{ref_key:"addScriptFormRef",ref:h,model:s(j),"label-width":"80px",rules:s(_)},{default:c(function(){return[i(S,{label:"名称",prop:"name"},{default:c(function(){return[i(V,{modelValue:s(j).name,"onUpdate:modelValue":u[0]||(u[0]=function(e){return s(j).name=e}),placeholder:"请输入脚本名称",width:"36rem"},null,8,["modelValue"])]}),_:1}),i(S,{label:"脚本类型",prop:"script_type"},{default:c(function(){return[i(w,{modelValue:s(j).script_type,"onUpdate:modelValue":u[1]||(u[1]=function(e){return s(j).script_type=e})},{default:c(function(){return[i(A,{label:"shell",value:"shell"},{default:c(function(){return e(u[4]||(u[4]=[d("Shell",-1)]))}),_:1}),i(A,{label:"python",value:"python"},{default:c(function(){return e(u[5]||(u[5]=[d("Python",-1)]))}),_:1})]}),_:1},8,["modelValue"])]}),_:1}),i(S,{label:"内容",prop:"content"},{default:c(function(){return[f("div",x,[i(U,{class:"!h-[32rem] !w-[36rem]",modelValue:s(j).content,"onUpdate:modelValue":u[2]||(u[2]=function(e){return s(j).content=e})},null,8,["modelValue"])])]}),_:1}),i(S,{label:"备注"},{default:c(function(){return[i(V,{modelValue:s(j).description,"onUpdate:modelValue":u[3]||(u[3]=function(e){return s(j).description=e}),placeholder:"备注",width:"36rem"},null,8,["modelValue"])]}),_:1})]}),_:1},8,["model","rules"]),i(I,{options:s(v),class:"list-disc pl-24px"},null,8,["options"])])}}}))}}})}();