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/index-legacy224.js
!function(){function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function i(t,o,u,a){var i=o&&o.prototype instanceof l?o:l,f=Object.create(i.prototype);return e(f,"_invoke",function(t,e,o){var u,a,i,l=0,f=o||[],s=!1,p={p:0,n:0,v:n,a:v,f:v.bind(n,4),d:function(t,e){return u=t,a=0,i=n,p.n=e,c}};function v(t,e){for(a=t,i=e,r=0;!s&&l&&!o&&r<f.length;r++){var o,u=f[r],v=p.p,d=u[2];t>3?(o=d===e)&&(i=u[(a=u[4])?5:(a=3,3)],u[4]=u[5]=n):u[0]<=v&&((o=t<2&&v<u[1])?(a=0,p.v=e,p.n=u[1]):v<d&&(o=t<3||u[0]>e||e>d)&&(u[4]=t,u[5]=e,p.n=d,a=0))}if(o||t>1)return c;throw s=!0,e}return function(o,f,d){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&v(f,d),a=f,i=d;(r=a<2?n:i)||!s;){u||(a?a<3?(a>1&&(p.n=-1),v(a,i)):p.n=i:p.v=i);try{if(l=2,u){if(a||(o="next"),r=u[o]){if(!(r=r.call(u,i)))throw TypeError("iterator result is not an object");if(!r.done)return r;i=r.value,a<2&&(a=0)}else 1===a&&(r=u.return)&&r.call(u),a<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),a=1);u=n}else if((r=(s=p.n<0)?i:t.call(e,p))!==c)break}catch(r){u=n,a=1,i=r}finally{l=1}}return{value:r,done:s}}}(t,u,a),!0),f}var c={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(e(r={},u,function(){return this}),r),v=s.prototype=l.prototype=Object.create(p);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,e(t,a,"GeneratorFunction")),t.prototype=Object.create(v),t}return f.prototype=s,e(v,"constructor",s),e(s,"constructor",f),f.displayName="GeneratorFunction",e(s,a,"GeneratorFunction"),e(v),e(v,a,"Generator"),e(v,u,function(){return this}),e(v,"toString",function(){return"[object Generator]"}),(t=function(){return{w:i,m:d}})()}function e(t,n,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(t){u=0}e=function(t,n,r,o){function a(n,r){e(t,n,function(t){return this._invoke(n,r,t)})}n?u?u(t,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[n]=r:(a("next",0),a("throw",1),a("return",2))},e(t,n,r,o)}function n(t,e,n,r,o,u,a){try{var i=t[u](a),c=i.value}catch(t){return void n(t)}i.done?e(c):Promise.resolve(c).then(r,o)}System.register(["./base-lib-legacy.js?v=1777008528","./database-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./useStore-legacy4.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528"],function(e,r){"use strict";var o,u,a,i,c,l,f,s,p,v,d,y,m,b,g,h,j,w,_,O,x,k;return{setters:[function(t){o=t.c,u=t.bb,a=t.r,i=t.o,c=t.j,l=t.k,f=t.e,s=t.v,p=t.q,v=t.p,d=t.C,y=t.F,m=t.B,b=t.Q,g=t.U,h=t.ag,j=t.ad,w=t.ab},function(t){_=t.clearRedisDb},function(t){O=t.w,x=t.k},function(t){k=t.g},null],execute:function(){var r={class:"p-20px"},S={class:"border border-light p-16px w-[22rem] max-h-[20rem] overflow-auto"},T={key:1,class:"text-tertiary-50 text-small"};e("default",o({__name:"index",props:{compData:{default:function(){return{keyList:[],sid:0}}}},setup:function(e,o){var G=o.expose,P=k().refs.isRefreshTable,D=e,F=u(D.compData,"keyList"),E=u(D.compData,"sid"),N=a(),V=function(){var e,r=(e=t().m(function e(n){var r;return t().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,O({icon:"warning-filled",title:"提示",content:"此操作将清空选中的数据库, 是否继续?"});case 1:return r=JSON.stringify(F.value.filter(function(t){return N.value.includes(t.name)}).map(function(t){return t.id})),t.n=2,x({loading:"正在清空,请稍后...",request:_({data:JSON.stringify({ids:r,sid:E.value})}),message:!0,success:function(t){t.status&&(P.value=!0)}});case 2:n();case 3:return t.a(2)}},e)}),function(){var t=this,r=arguments;return new Promise(function(o,u){var a=e.apply(t,r);function i(t){n(a,o,u,i,c,"next",t)}function c(t){n(a,o,u,i,c,"throw",t)}i(void 0)})});return function(t){return r.apply(this,arguments)}}();return G({onConfirm:V}),i(function(){N.value=F.value.map(function(t){return t.name})}),function(t,e){var n=g,o=h,u=j,a=w;return c(),l("div",r,[f(a,null,{default:s(function(){return[f(u,{label:"选择数据库"},{default:s(function(){return[p("div",S,[v(F).length?(c(),d(o,{key:0,modelValue:v(N),"onUpdate:modelValue":e[0]||(e[0]=function(t){return b(N)?N.value=t:null})},{default:s(function(){return[(c(!0),l(y,null,m(v(F),function(t,e){return c(),d(n,{class:"w-full !mr-0",label:t.name,key:e},null,8,["label"])}),128))]}),_:1},8,["modelValue"])):(c(),l("span",T,"暂无数据"))])]}),_:1})]}),_:1})])}}}))}}})}();