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/setting-ip-list.js
import{dc as h,d3 as y,d4 as v,cP as I}from"./utils-lib.js?v=1777008528";import{_ as B}from"./index118.js?v=1777008528";import{a5 as x,a6 as o,k as w,a7 as n,a8 as c,a9 as m,aa as C,ab as R,ac as _,ad as V}from"./useController11.js?v=1777008528";import{c as D,w as L,g as P,o as j,j as s,k as N,e as p,v as e,p as t,C as l,q as u,y as O}from"./base-lib.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./site.js?v=1777008528";import"./index3.js?v=1777008528";import"./index119.js?v=1777008528";import"./index116.js?v=1777008528";import"./useStore2.js?v=1777008528";const J=D({__name:"setting-ip-list",props:{compData:{default:()=>({})}},setup(W){L(()=>w.value.ip_limit,i=>{i?x(i):(o.white=[],o.black=[])},{deep:!0});const f=P(()=>n.value==="ipWhiteList"?c.value:m.value),{BtOperation:d}=h({options:[{label:"添加IP".concat(n.value==="ipBlackList"?"黑":"白","名单"),type:"button",active:!0,onClick:C}]});return j(R),(i,a)=>{const r=y,b=v,k=B,g=I;return s(),N("div",null,[p(k,null,{"header-left":e(()=>[p(t(d))]),content:e(()=>[t(n)!=="ipBlackList"?(s(),l(r,{key:0,ref_key:"settingIpWhiteRef",ref:c,data:t(o).white,"max-height":390,column:t(_)},{empty:e(()=>[...a[0]||(a[0]=[u("div",{class:"flex items-center justify-center"},"当前列表为空",-1)])]),_:1},8,["data","column"])):(s(),l(r,{key:1,ref_key:"settingIpRef",ref:m,data:t(o).black,"max-height":390,column:t(_)},{empty:e(()=>[...a[1]||(a[1]=[u("div",{class:"flex items-center justify-center"},"当前列表为空",-1)])]),_:1},8,["data","column"]))]),"footer-left":e(()=>[p(b,{"table-ref":t(f),options:t(V)},null,8,["table-ref","options"])]),_:1}),t(n)!=="ipBlackList"?(s(),l(g,{key:0,class:"mt-[2rem] ml-[1.6rem]",options:[{content:"注意:设置IP白名单后会默认禁止除白名单以外的所有IP访问"}]})):O("",!0)])}}});export{J as default};