2 lines
1.7 KiB
JavaScript
2 lines
1.7 KiB
JavaScript
import{_ as h}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{a3 as b}from"./ssl-Bm8jcneQ.js?v=1773287522785";import{k as H,R as T,e as x,$ as C,Z as g,a0 as t,a9 as i,S as _,_ as n}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as w,a6 as y}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const M={class:"p-20px"},B=H({__name:"change-verification",props:{uc_id:{},onRefresh:{type:Function}},setup(c,{expose:r}){const{t:o}=T(),l=c,p=[{label:o("SSL.SiteSSL.index_17")+"(http)",value:"HTTP_CSR_HASH"},{label:o("SSL.SiteSSL.index_17")+"(https)",value:"HTTPS_CSR_HASH"},{label:o("SSL.index_12"),value:"CNAME_CSR_HASH"}],a=x({dcvMethod:"HTTP_CSR_HASH"});return r({onConfirm:async()=>{const s={uc_id:l.uc_id,dcv_method:a.dcvMethod};await b(s),l.onRefresh()}}),(s,e)=>{const m=y,u=w,d=v,f=h;return C(),g("div",M,[t(d,null,{default:i(()=>[t(u,{label:s.$t("Term.index_12")},{default:i(()=>[t(m,{value:_(a).dcvMethod,"onUpdate:value":e[0]||(e[0]=S=>_(a).dcvMethod=S),options:p},null,8,["value"])]),_:1},8,["label"])]),_:1}),t(f,null,{default:i(()=>e[1]||(e[1]=[n("li",null,"File verification (HTTP): Ensure that the website can be accessed normally via http",-1),n("li",null,"File verification (HTTPS): Make sure that the website has https enabled and can be accessed normally through https",-1),n("li",null,"DNS verification: DNS record value needs to be manually resolved",-1),n("li",{class:"text-error"},"Note: Only one change is allowed within 20 minutes. Frequent changes will extend the application time.",-1)])),_:1,__:[1]})])}}});export{B as default};
|