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/index10.js
import{ca as S,c_ as w}from"./utils-lib.js?v=1777008528";import{g as l}from"./useStore.js?v=1777008528";import{u as b}from"./index123.js?v=1777008528";import{c as k,b as C,g as i,w as u,o as N,a8 as x,j as m,C as R,v as q,p as n,k as B,e as E,Q as A,y as T,n as D}from"./base-lib.js?v=1777008528";import{B as L}from"./index3.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./config.js?v=1777008528";import"./index124.js?v=1777008528";import"./index212.js?v=1777008528";import"./index119.js?v=1777008528";import"./index116.js?v=1777008528";const P={key:0,class:"mr-1rem"},W=k({__name:"index",setup(j){const{getGlobalConfig:p}=l(),{refs:{settingSearch:o,openSSLPopup:d,openPortPopup:f}}=l(),h=C(),{BtRouterTabs:g}=b(),r=i(()=>h.name),_=i(()=>r.value==="whole"||r.value==="panel"||r.value==="safe");u(()=>o.value,()=>{D(()=>{if(document.querySelectorAll(".empty-search").forEach(function(t){var s;(s=t.parentNode)==null||s.removeChild(t)}),document.querySelectorAll('.config-rows[style="display: flex;"]').length==0){const t=document.createElement("div");t.className="empty-search flex items-center justify-center w-full py-[1.5rem]",t.innerHTML='暂无搜索结果,<span class="text-primary cursor-pointer NpsDialog">提交需求反馈</span>',t.querySelectorAll(".NpsDialog").forEach(v=>{v.addEventListener("click",function(){L({name:"面板设置",type:23,id:30})})});const c=document.querySelector(".router-tabs-content .search-results");c&&c.appendChild(t)}})},{immediate:!0}),u(()=>r.value,e=>{(e==="whole"||e==="panel"||e==="safe"||e==="ui")&&(o.value="")});const y=()=>{const e=window.localStorage.getItem("config-dialog");switch(e){case"ssl":d.value=!0;break;case"port":f.value=!0;break}e&&window.localStorage.removeItem("config-dialog")};return N(async()=>{o.value="",await p(),y()}),x(()=>{S(["/config?action=get_menu_list"])}),(e,a)=>{const t=w;return m(),R(n(g),null,{right:q(()=>[n(_)?(m(),B("div",P,[E(t,{class:"search !w-24rem",placeholder:"搜索设置项",modelValue:n(o),"onUpdate:modelValue":a[0]||(a[0]=s=>A(o)?o.value=s:null)},null,8,["modelValue"])])):T("",!0)]),_:1})}}});export{W as default};