Files
aaPanel/BTPanel/static/vite/js/config11.js
T
Jack 8eadc94c98 Update to 7.32.0
1. Added: Mail Server - Add Domain with Domain management center to Automatic DNS record & apply SSL
2. Added: Mail Server - DNS record with One-click Parsing
3. Added: Mail Server - Compatible with Domain management center to apply for renewal SSL
4. Added: Mail Server - Mail Marketing - Add Template supports Upload HTML
5. Added: bt default command supports displaying separate IPV4, IPV6 and bound domain info
6. Added: Settings - Panel SSL supports using Domains SSL Certificate
7. Added: PHP Project - Automatic Add Record & SSL with progress display
8. Fixed: Mail Server quota limit issue
9. Fixed: WP Toolkit incorrect cache directory issue
10. Optimized: Enhanced domain validation in the Domain module
11. Fixed: Issue with automatic domain resolution prompts in Mail Server editing
12. Fixed: "Internal Server Error" occurring in certain scenarios
2025-04-15 17:11:22 +08:00

2 lines
2.2 KiB
JavaScript

import{_ as e}from"./index95.js?v=1744703330658";import{_ as t}from"./index.vue_vue_type_script_setup_true_lang.js?v=1744703330658";import{H as a}from"./setting.js?v=1744703330658";import{d as l,O as i,r as n,j as o,R as s,S as f,P as c,a0 as r,V as p,U as u,a1 as m,M as _}from"./vue.js?v=1744703330658";import{b$ as g,ch as v,bY as d}from"./naive.js?v=1744703330658";import"./page_layout.js?v=1744703330658";import"./common.js?v=1744703330658";import"./__commonjsHelpers__.js?v=1744703330658";import"./public.js?v=1744703330658";const y={class:"p-20px"},b={class:"w-150px"},j={class:"w-150px"},S=l({__name:"config",props:{config:{}},emits:["refresh"],setup(l,{expose:S,emit:x}){const W=l,$=x,{t:h}=i(),w=n(null),U=o({open:!0,cycle:60,limit:240}),E={cycle:{validator:()=>!!U.cycle||new Error(h("Waf.Setting.config_154"))},limit:{validator:()=>!!U.limit||new Error(h("Waf.Setting.config_155"))}};return(()=>{const{config:e}=W;U.open=e.open,U.limit=e.limit,U.cycle=e.cycle})(),S({onConfirm:async()=>{var e;await(null==(e=w.value)?void 0:e.validate()),await a({..._(U),open:U.open?1:0}),$("refresh")}}),(a,l)=>{const i=g,n=v,o=d,_=t,S=e;return s(),f("div",y,[c(_,{ref_key:"formRef",ref:w,model:p(U),rules:E},{default:r((()=>[c(n,{label:a.$t("Waf.Setting.config_148"),path:"open"},{default:r((()=>[c(i,{value:p(U).open,"onUpdate:value":l[0]||(l[0]=e=>p(U).open=e)},null,8,["value"])])),_:1},8,["label"]),c(n,{label:a.$t("Waf.Setting.config_149"),path:"cycle"},{default:r((()=>[u("div",b,[c(o,{value:p(U).cycle,"onUpdate:value":l[1]||(l[1]=e=>p(U).cycle=e),min:1,"show-button":!1},{suffix:r((()=>[u("span",null,m(a.$t("Waf.Setting.config_53")),1)])),_:1},8,["value"])])])),_:1},8,["label"]),c(n,{label:a.$t("Waf.Setting.config_150"),path:"limit"},{default:r((()=>[u("div",j,[c(o,{value:p(U).limit,"onUpdate:value":l[2]||(l[2]=e=>p(U).limit=e),min:1,"show-button":!1},{suffix:r((()=>[u("span",null,m(a.$t("Waf.Setting.config_52")),1)])),_:1},8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"]),c(S,{class:"mt-12px"},{default:r((()=>[u("li",null,m(a.$t("Waf.Setting.config_151")),1),u("li",null,m(a.$t("Waf.Setting.config_152")),1),u("li",null,m(a.$t("Waf.Setting.config_153")),1)])),_:1})])}}});export{S as default};