Skip to content

Commit

Permalink
fix: 修复ASN编号显示
Browse files Browse the repository at this point in the history
  • Loading branch information
pysio2007 committed Jan 8, 2025
1 parent 74383a0 commit cc016c8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/.vuepress/components/ipcheck.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@
<p>服务商域名:{{ ipData.data.company.domain }}</p>
<p>服务商类型:{{ ipData.data.company.type }}</p>
</div>
<div v-if="ipData.data && ipData.data.asn" class="hint-container tip">
<p class="hint-container-title">ASN 信息</p>
<p>ASN 编号:{{ ipData.data.asn.asn }}</p>
<p>运营商名称:{{ ipData.data.asn.name }}</p>
<p>运营商域名:{{ ipData.data.asn.domain }}</p>
<p>IP 路由:{{ ipData.data.asn.route }}</p>
<p>网络类型:{{ ipData.data.asn.type }}</p>
</div>
</div>

<!-- 当未超速时,展示第二个 IP 的详细信息 -->
Expand Down Expand Up @@ -99,6 +107,14 @@
<p>服务商域名:{{ ipData2.data.company.domain }}</p>
<p>服务商类型:{{ ipData2.data.company.type }}</p>
</div>
<div v-if="ipData2.data && ipData2.data.asn" class="hint-container tip">
<p class="hint-container-title">ASN 信息</p>
<p>ASN 编号:{{ ipData2.data.asn.asn }}</p>
<p>运营商名称:{{ ipData2.data.asn.name }}</p>
<p>运营商域名:{{ ipData2.data.asn.domain }}</p>
<p>IP 路由:{{ ipData2.data.asn.route }}</p>
<p>网络类型:{{ ipData2.data.asn.type }}</p>
</div>
</div>
</div>
</template>
Expand Down

0 comments on commit cc016c8

Please sign in to comment.