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/install-package-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(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./index-legacy116.js?v=1777008528","./index-legacy389.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy118.js?v=1777008528","./useStore-legacy2.js?v=1777008528","./site-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528"],function(n,l){"use strict";var t,r,o,u,a,i,c,f,d,s,p,m,y,g,b,v,_,j,V,h,x,A,S,w,U;return{setters:[function(e){t=e.c,r=e.o,o=e.j,u=e.k,a=e.e,i=e.v,c=e.p,f=e.x,d=e.J,s=e.K,p=e.q,m=e.al,y=e.aj,g=e.ad,b=e.ab},function(e){v=e.cO,_=e.W},function(e){j=e._},function(e){V=e.g,h=e.o,x=e.i,A=e.a,S=e.p,w=e.b,U=e.r},null,null,null,null,null,null],execute:function(){var l={class:"p-[20px]"},k={class:"flex"};n("default",t({__name:"install-package",props:{compData:{default:function(){}},isConfig:{type:Boolean},formData:{}},emits:[""],setup:function(n,t){var C=t.expose;t.emit;return r(function(){V()}),C({onConfirm:h}),function(n,t){var r=m,V=y,h=g,C=v,I=j,D=_,O=b;return o(),u("div",l,[a(O,{ref_key:"installFormRef",ref:w,model:c(x),rules:c(U)},{default:i(function(){return[a(h,{label:"安装方式"},{default:i(function(){return[a(V,{modelValue:c(x).type,"onUpdate:modelValue":t[0]||(t[0]=function(e){return c(x).type=e})},{default:i(function(){return[a(r,{value:"common"},{default:i(function(){return e(t[5]||(t[5]=[f("普通安装",-1)]))}),_:1}),a(r,{value:"file"},{default:i(function(){return e(t[6]||(t[6]=[f("从文件批量安装",-1)]))}),_:1})]}),_:1},8,["modelValue"])]}),_:1}),d(a(h,{label:"名称",prop:"name"},{default:i(function(){return[p("div",k,[a(C,{modelValue:c(x).name,"onUpdate:modelValue":t[1]||(t[1]=function(e){return c(x).name=e}),placeholder:"请输入名称",width:"22rem"},null,8,["modelValue"]),a(h,{label:"版本",prop:"version"},{default:i(function(){return[a(C,{modelValue:c(x).version,"onUpdate:modelValue":t[2]||(t[2]=function(e){return c(x).version=e}),placeholder:"默认最新版本",width:"22rem"},null,8,["modelValue"])]}),_:1})])]}),_:1},512),[[s,"common"==c(x).type]]),d(a(h,{label:"版本记录文件",prop:"file"},{default:i(function(){return[a(I,{modelValue:c(x).file,"onUpdate:modelValue":t[3]||(t[3]=function(e){return c(x).file=e}),placeholder:"版本记录文件",icon:"el-folder-opened",onIconClick:c(A),width:"40rem"},null,8,["modelValue","onIconClick"])]}),_:1},512),[[s,"file"==c(x).type]]),a(h,{label:"pip镜像源",prop:"pip"},{default:i(function(){return[a(D,{modelValue:c(x).pip,"onUpdate:modelValue":t[4]||(t[4]=function(e){return c(x).pip=e}),options:c(S),class:"!w-[54rem]"},null,8,["modelValue","options"])]}),_:1})]}),_:1},8,["model","rules"])])}}}))}}})}();