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/plugin-install-legacy.js
System.register(["./index-legacy118.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy108.js?v=1777008528","./index-legacy390.js?v=1777008528","./index-legacy195.js?v=1777008528","./index-legacy3.js?v=1777008528","./useController-legacy19.js?v=1777008528","./useMethod-legacy12.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index.vue_vue_type_script_setup_true_lang-legacy4.js?v=1777008528","./index-legacy175.js?v=1777008528","./index-legacy119.js?v=1777008528","./index.vue_vue_type_style_index_0_scoped_cdc7f4d3_lang-legacy.js?v=1777008528","./useStore-legacy2.js?v=1777008528","./site-legacy.js?v=1777008528","./useStore-legacy13.js?v=1777008528","./form-item-legacy.js?v=1777008528","./index-legacy116.js?v=1777008528","./useController-legacy13.js?v=1777008528","./index-legacy192.js?v=1777008528"],function(e,n){"use strict";var l,t,r,s,i,u,a,c,o,d,p,g,f,h,y,_,x,j,m,v;return{setters:[function(e){l=e._},function(e){t=e.da,r=e.k,s=e.M,i=e.dd,u=e.cT},function(e){a=e.c,c=e.aI,o=e.e,d=e.x,p=e.j,g=e.k,f=e.v,h=e.p},function(e){y=e.u},function(e){_=e.g},function(e){x=e.B},function(e){j=e.g},function(e){m=e.u},function(e){v=e.s},null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n={class:"p-[2rem]"};e("default",a({__name:"plugin-install",setup:function(e){var a=c(m()).localRow,b=c(y()),w=b.isRefreshPluginInstall,B=b.isRefreshPluginList,q=t({request:function(e){return _(e)},columns:[{label:"名称",prop:"name",minWidth:180,isCustom:!0,render:function(e){return o("span",{class:"flex items-center"},[o("img",{class:"w-[25px] h-[25px]",src:e.icons["1x"]?e.icons["1x"]:e.icons.default},null),o("span",{class:"ml-[5px]"},[e.name])])}},{label:"描述",width:200,prop:"short_description",showOverflowTooltip:!0},{label:"作者",prop:"author",render:function(e){return o("span",{innerHTML:e.author},null)}},{label:"WP",prop:"requires",width:50,render:function(e){return e.requires?e.requires:"--"}},{label:"PHP",prop:"requires_php",render:function(e){return e.requires_php?e.requires_php:"--"}},{label:"等级",prop:"rating",width:140,render:function(e){var n=e.rating?e.rating/20:0;return o("div",{class:"flex items-center"},[o(x,{modelValue:n,disabled:!0,"allow-half":!0,class:"!text-extraLarge"},null)])}},j(function(e){return[{title:e.installed?"已安装":"安装",render:function(e){var n=a.value.wp_version<e.requires||a.value.php_version<e.requires_php||e.installed;return e.installed?o("span",{class:"text-tertiary",style:"cursor:not-allowed"},[d("已安装")]):o("span",{class:"bt-link",style:n?"cursor:not-allowed; color: var(--el-base-tertiary);":"",onClick:n?void 0:function(){r({loading:"安装中...",request:v({s_id:a.value.id,slug:e.slug}),success:function(e){e.status&&(w.value=!0,B.value=!0,s.success("安装成功"))}})}},[d("安装")])}}]},{label:"操作",width:100,fixed:"right"})],extension:[i("search",{name:"local-setting-plugin",list:[]}),u(w)]}),C=q.BtTable,P=q.BtPage,R=(q.BtRecommendSearch,q.BtRefresh,q.BtColumn,q.BtBatch,q.BtTableCategory,q.BtErrorMask,q.tableRef,q.classList,q.refresh,q.BtSearch);return function(e,t){var r=l;return p(),g("div",n,[o(r,null,{"header-right":f(function(){return[o(h(R),{type:"local-setting-plugin",placeholder:"请输入插件名称",class:"!w-[270px] mr-[10px]"})]}),content:f(function(){return[o(h(C),{"max-height":500})]}),"footer-right":f(function(){return[o(h(P))]}),_:1})])}}}))}}});