🐛 修复一个会导致 500的Bug

This commit is contained in:
7836246
2024-03-03 08:03:42 +08:00
parent 2fbaf88ce2
commit e74f8b1e24
8 changed files with 128 additions and 34 deletions
+22
View File
@@ -3,6 +3,11 @@ export default defineI18nLocale(async locale => {
app: {
title: 'Nuxt Whois',
},
common: {
actions: {
delete: 'Delete',
}
},
whois:{
title: 'Whois Query',
description: 'Query the Whois information of {domain}, including registrant contact information, domain status, DNS records and other detailed information. Quickly and accurately obtain domain ownership and registration information.',
@@ -21,6 +26,22 @@ export default defineI18nLocale(async locale => {
//SOA record
soaRecord: 'SOA record',
},
history:{
//Query history
title: 'Query History',
//Only keep the last 30/{{ styleStore.getHistory.length }} records
tips: 'Only keep the last 30/{length} records',
//Domain
domain: 'Domain',
//Query type
type: 'Query Type',
//Query time
time: 'Query Time',
//Operation
actions: 'Actions',
//There is currently no query history.
empty: 'There is currently no query history.',
},
index: {
tips: 'The information you submit for your query will not be recorded!',
placeholder: 'Please enter a domain name',
@@ -28,6 +49,7 @@ export default defineI18nLocale(async locale => {
title: 'WHOIS and Dns Query Tool Website',
description: 'Provide domain WHOIS query, domain DNS query, domain registrar query, domain registration information query and other services',
keywords: 'Domain whois query, whois query, whois information query, whois query tool, whois query website, whois query api, whois query interface',
support: 'Currently only the following suffixes are supported',
},
error:{
formatDomain: 'Error formatting domain name',
+22
View File
@@ -3,6 +3,11 @@ export default defineI18nLocale(async locale => {
app: {
title: 'Nuxt Whois',
},
common: {
actions: {
delete: '刪除',
}
},
whois: {
title: 'Whois查詢',
description: '查詢{domain}的Whois信息,包括註冊者聯繫方式、域名狀態、DNS記錄等詳細信息。快速、準確地獲取域名所有權和註冊信息。',
@@ -21,6 +26,22 @@ export default defineI18nLocale(async locale => {
//SOA記錄
soaRecord: 'SOA記錄',
},
history:{
//查詢歷史
title: '查詢歷史',
//只保留最近 30/{{ styleStore.getHistory.length }} 條記錄
tips: '只保留最近 30/{length} 條記錄',
//域名
domain: '域名',
//查詢型別
type: '查詢型別',
//查詢時間
time: '查詢時間',
//操作
actions: '操作',
//當前沒有查詢歷史記錄。
empty: '當前沒有查詢歷史記錄。',
},
index: {
tips: '您提交的查詢信息不會被記錄!',
placeholder: '請輸入域名',
@@ -28,6 +49,7 @@ export default defineI18nLocale(async locale => {
title: 'WHOIS與Dns查詢工具網站',
description: '提供域名WHOIS查詢、域名DNS查詢、域名註冊商查詢、域名註冊信息查詢等服務',
keywords: '域名whois查詢,whois查詢,whois信息查詢,whois查詢工具,whois查詢網站,whois查詢api,whois查詢接口',
support: '目前僅支持以下後綴',
},
error: {
formatDomain: '域名格式錯誤',
+24
View File
@@ -3,6 +3,12 @@ export default defineI18nLocale(async locale => {
app: {
title: 'Nuxt Whois',
},
common: {
actions: {
//删除
delete: '删除',
}
},
whois:{
title: "Whois查询",
description: "查询{domain}的Whois信息,包括注册者联系方式、域名状态、DNS记录等详细信息。快速、准确地获取域名所有权和注册信息。",
@@ -21,6 +27,22 @@ export default defineI18nLocale(async locale => {
//SOA记录
soaRecord: 'SOA记录',
},
history:{
//查询历史
title: '查询历史',
//只保留最近 30/{{ styleStore.getHistory.length }} 条记录
tips: '只保留最近 30/{length} 条记录',
//域名
domain: '域名',
//查询类型
type: '查询类型',
//查询时间
time: '查询时间',
//操作
actions: '操作',
//当前没有查询历史记录。
empty: '当前没有查询历史记录。',
},
index: {
tips: '您提交的查询信息不会被记录!',
placeholder: '请输入域名',
@@ -28,6 +50,8 @@ export default defineI18nLocale(async locale => {
title: 'Whois与Dns查询工具网站',
description: '提供域名WHOIS查询、域名DNS查询、域名注册商查询、域名注册信息查询等服务',
keywords: '域名whois查询,whois查询,whois信息查询,whois查询工具,whois查询网站,whois查询api,whois查询接口',
//目前仅支持以下后缀
support: '目前仅支持以下后缀',
},
error:{
formatDomain: '域名格式错误',