mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
fix: 根据SOA记录判断子域名托管有缺陷,改回手动配置子域名托管记录的方式
This commit is contained in:
+8
-8
@@ -8,7 +8,7 @@
|
||||
<fs-copyable v-model="cnameRecord.hostRecord"></fs-copyable>
|
||||
</td>
|
||||
<td style="text-align: center">CNAME</td>
|
||||
<td class="record-value">
|
||||
<td class="record-value" :title="cnameRecord.recordValue">
|
||||
<fs-copyable v-model="cnameRecord.recordValue"></fs-copyable>
|
||||
</td>
|
||||
<td class="status center flex-center">
|
||||
@@ -38,12 +38,12 @@ const statusDict = dict({
|
||||
{ label: "验证中", value: "validating", color: "blue" },
|
||||
{ label: "验证成功", value: "valid", color: "green" },
|
||||
{ label: "验证失败", value: "failed", color: "red" },
|
||||
{ label: "验证超时", value: "timeout", color: "red" }
|
||||
]
|
||||
{ label: "验证超时", value: "timeout", color: "red" },
|
||||
],
|
||||
});
|
||||
|
||||
defineOptions({
|
||||
name: "CnameRecordInfo"
|
||||
name: "CnameRecordInfo",
|
||||
});
|
||||
|
||||
const props = defineProps<{
|
||||
@@ -55,7 +55,7 @@ const emit = defineEmits<{
|
||||
{
|
||||
id: number | null;
|
||||
status: string | null;
|
||||
}
|
||||
},
|
||||
];
|
||||
}>();
|
||||
|
||||
@@ -64,7 +64,7 @@ const cnameRecord = ref<CnameRecord | null>(null);
|
||||
function onRecordChange() {
|
||||
emit("change", {
|
||||
id: cnameRecord.value?.id,
|
||||
status: cnameRecord.value?.status
|
||||
status: cnameRecord.value?.status,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -90,11 +90,11 @@ async function doRefresh() {
|
||||
|
||||
watch(
|
||||
() => props.domain,
|
||||
async (value) => {
|
||||
async value => {
|
||||
await doRefresh();
|
||||
},
|
||||
{
|
||||
immediate: true
|
||||
immediate: true,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -16,9 +16,9 @@ export const aboutResource = [
|
||||
show: () => {
|
||||
const settingStore = useSettingStore();
|
||||
return !settingStore.isComm;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export default aboutResource;
|
||||
|
||||
@@ -98,17 +98,17 @@ export const certdResources = [
|
||||
keepAlive: true,
|
||||
},
|
||||
},
|
||||
// {
|
||||
// title: "子域名托管设置",
|
||||
// name: "SubDomain",
|
||||
// path: "/certd/pipeline/subDomain",
|
||||
// component: "/certd/pipeline/sub-domain/index.vue",
|
||||
// meta: {
|
||||
// icon: "material-symbols:approval-delegation-outline",
|
||||
// auth: true,
|
||||
// keepAlive: true,
|
||||
// },
|
||||
// },
|
||||
{
|
||||
title: "子域名托管设置",
|
||||
name: "SubDomain",
|
||||
path: "/certd/pipeline/subDomain",
|
||||
component: "/certd/pipeline/sub-domain/index.vue",
|
||||
meta: {
|
||||
icon: "material-symbols:approval-delegation-outline",
|
||||
auth: true,
|
||||
keepAlive: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "流水线分组管理",
|
||||
name: "PipelineGroupManager",
|
||||
|
||||
Reference in New Issue
Block a user