← Back
Editing: change-verification.js
import{_ as e,aD as t}from"./public.js?v=1753755607904";import{_ as a}from"./index.vue_vue_type_script_setup_true_lang.js?v=1753755607904";import{k as l,P as s,e as i,U as n,X as o,Q as r,a2 as c,W as u,V as _}from"./vue.js?v=1753755607904";import{cC as d,cG as p}from"./naive.js?v=1753755607904";import"./page_layout.js?v=1753755607904";import"./common.js?v=1753755607904";import"./__commonjsHelpers__.js?v=1753755607904";const h={class:"p-20px"},m=l({__name:"change-verification",props:{uc_id:{},onRefresh:{type:Function}},setup(l,{expose:m}){const{t:S}=s(),v=l,f=[{label:S("SSL.SiteSSL.index_17")+"(http)",value:"HTTP_CSR_HASH"},{label:S("SSL.SiteSSL.index_17")+"(https)",value:"HTTPS_CSR_HASH"},{label:S("SSL.index_12"),value:"CNAME_CSR_HASH"}],H=i({dcvMethod:"HTTP_CSR_HASH"});return m({onConfirm:async()=>{const e={uc_id:v.uc_id,dcv_method:H.dcvMethod};await t(e),v.onRefresh()}}),(t,l)=>{const s=p,i=d,m=a,S=e;return o(),n("div",h,[r(m,null,{default:c((()=>[r(i,{label:t.$t("Term.index_12")},{default:c((()=>[r(s,{value:u(H).dcvMethod,"onUpdate:value":l[0]||(l[0]=e=>u(H).dcvMethod=e),options:f},null,8,["value"])])),_:1},8,["label"])])),_:1}),r(S,null,{default:c((()=>l[1]||(l[1]=[_("li",null,"File verification (HTTP): Ensure that the website can be accessed normally via http",-1),_("li",null,"File verification (HTTPS): Make sure that the website has https enabled and can be accessed normally through https",-1),_("li",null,"DNS verification: DNS record value needs to be manually resolved",-1),_("li",{class:"text-error"},"Note: Only one change is allowed within 20 minutes. Frequent changes will extend the application time.",-1)]))),_:1,__:[1]})])}}});export{m as default};
Save File
Cancel