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/exclude-path.js
import{_ as C}from"./index118.js?v=1777008528";import{w,M as c,d3 as V}from"./utils-lib.js?v=1777008528";import{c as k,aI as I,r as n,I as R,j as S,C as T,v as l,e as r,p as a,Q as y,x as D,J as E,z as M}from"./base-lib.js?v=1777008528";import{_ as O}from"./index116.js?v=1777008528";import{g as B,w as H}from"./index3.js?v=1777008528";import{H as N}from"./index387.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./index119.js?v=1777008528";const Y=k({__name:"exclude-path",setup(P){const s=N(),{malwareData:_}=I(s),{setMalwareConfig:i}=s,u=n(!1),e=n(""),p=n([{prop:"name",label:"路径",showOverflowTooltip:!0,minWidth:690},B([{title:"删除",onClick:async t=>{await w({title:"删除排除目录",content:"是否删除【"+t.name+"】?删除后,该目录将不再被排除"}),await i({delete_exclude_path:t.name})}}])]),m=()=>{if(!e.value)return c.error("请输入或选择目录路径");if(e.value==="/")return c.error("不能添加全盘路径");i({add_exclude_path:e.value}),e.value=""},d=()=>{H({type:"dir",path:e.value,change:t=>{e.value=t}})};return(t,o)=>{const f=O,g=M,h=V,v=C,b=R("bt-loading");return S(),T(v,null,{"header-left":l(()=>[r(f,{class:"mr-[12px]",modelValue:a(e),"onUpdate:modelValue":o[0]||(o[0]=x=>y(e)?e.value=x:null),icon:"el-folder-opened",onIconClick:d,width:"32rem",placeholder:"请填写或选择目录路径"},null,8,["modelValue"]),r(g,{type:"primary",onClick:m},{default:l(()=>[...o[1]||(o[1]=[D(" 添加 ",-1)])]),_:1})]),content:l(()=>[E(r(h,{"max-height":"370",column:a(p),data:a(_).exclude_dirs},null,8,["column","data"]),[[b,a(u)]])]),_:1})}}});export{Y as default};