mirror of
https://github.com/certd/certd.git
synced 2026-04-14 12:30:54 +08:00
fix: 修复cname排查方法 nslookup命令显示黑色的问题
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div>2. 要添加的是CNAME类型的记录,不是TXT</div>
|
||||
<div>3. 核对记录值是否是:{{ record.recordValue }}</div>
|
||||
<div>
|
||||
4. 运行命令 <a-tag>nslookup -qa=txt {{ record.hostRecord }}{{ record.domain }}</a-tag> 查看解析配置是否正确
|
||||
4. 运行命令 <a-tag color="green">nslookup -qa=txt {{ record.hostRecord }}.{{ mainDomain }}</a-tag> 查看解析是否正确
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -16,7 +16,15 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from "vue";
|
||||
import psl from "psl";
|
||||
const props = defineProps<{
|
||||
record: any;
|
||||
}>();
|
||||
const mainDomain = computed(() => {
|
||||
if (props.record.domain) {
|
||||
return psl.parse(props.record.domain).domain;
|
||||
}
|
||||
return "";
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -12,7 +12,7 @@ const slots = defineSlots();
|
||||
<template>
|
||||
<div class="tutorial-button pointer" @click="open">
|
||||
<template v-if="!slots.default">
|
||||
<fs-icon icon="mingcute:question-line"></fs-icon>
|
||||
<fs-icon icon="ant-design:question-circle-outlined"></fs-icon>
|
||||
<div class="ml-5">使用教程</div>
|
||||
</template>
|
||||
<slot></slot>
|
||||
|
||||
Reference in New Issue
Block a user