|
|
@ -188,12 +188,15 @@ const changeProvider = () => {
|
|
|
|
const getDnsResolve = async (acmeAccountId: number, domains: string[]) => {
|
|
|
|
const getDnsResolve = async (acmeAccountId: number, domains: string[]) => {
|
|
|
|
hasResolve.value = false;
|
|
|
|
hasResolve.value = false;
|
|
|
|
loading.value = true;
|
|
|
|
loading.value = true;
|
|
|
|
|
|
|
|
try {
|
|
|
|
const res = await GetDnsResolve({ acmeAccountId: acmeAccountId, domains: domains });
|
|
|
|
const res = await GetDnsResolve({ acmeAccountId: acmeAccountId, domains: domains });
|
|
|
|
if (res.data) {
|
|
|
|
if (res.data) {
|
|
|
|
dnsResolve.value = res.data;
|
|
|
|
dnsResolve.value = res.data;
|
|
|
|
hasResolve.value = true;
|
|
|
|
hasResolve.value = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} finally {
|
|
|
|
loading.value = false;
|
|
|
|
loading.value = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const submit = async (formEl: FormInstance | undefined) => {
|
|
|
|
const submit = async (formEl: FormInstance | undefined) => {
|
|
|
|