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/key-config.js
import{M as c,d_ as u,cZ as f}from"./utils-lib.js?v=1777008528";import{c as x,aK as l,o as g,j as w,k as _,q as t,e as r,p as i,Q as p,x as h}from"./base-lib.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";const y={class:"p-[1.6rem]"},S={class:"flex flex-col text-secondary text-base"},V={class:"flex items-center leading-[4rem]"},v={class:"flex items-center leading-[4rem]"},k=x({__name:"key-config",setup(C){const a=l("terminalCopyStatus",!1),s=l("rightKeyPasteStatus",!1),d=l("showLabelDot",!0);g(()=>{d.value=!1});const m=()=>{window.location.protocol!=="https:"&&window.location.hostname!=="localhost"&&(s.value=!1,c.error("请打开面板SSL后再执行操作"))};return(b,e)=>{const n=u;return w(),_("div",y,[t("div",S,[t("span",V,[e[2]||(e[2]=t("span",{class:"w-[10rem] text-right whitespace-nowrap"}," 选中复制: ",-1)),r(n,{modelValue:i(a),"onUpdate:modelValue":e[0]||(e[0]=o=>p(a)?a.value=o:null),width:36},null,8,["modelValue"]),e[3]||(e[3]=t("span",{class:"text-small text-secondary ml-[10px]"},"开启后,选中终端内容将自动复制到剪贴板,无需手动复制",-1))]),t("span",v,[e[4]||(e[4]=t("span",{class:"w-[10rem] text-right whitespace-nowrap"}," 右键自动粘贴: ",-1)),r(n,{modelValue:i(s),"onUpdate:modelValue":e[1]||(e[1]=o=>p(s)?s.value=o:null),width:36,onChange:m},null,8,["modelValue"]),e[5]||(e[5]=t("span",{class:"text-small text-secondary ml-[10px]"},[h("开启后,终端输入时右键将自动粘贴内容"),t("span",{class:"text-danger"},"(注意:面板需HTTPS环境)")],-1))])])])}}}),B=f(k,[["__scopeId","data-v-fd81c16f"]]);export{B as default};