【新增】在翻译文件中添加多吉云AccessKey和SecretKey的相关翻译,更新阿里云ESA的配置接口,优化CA管理功能,增强表单验证逻辑,提升用户体验。

This commit is contained in:
chudong
2025-06-20 10:07:56 +08:00
parent cc5b8aada4
commit eb6172436c
107 changed files with 1008 additions and 406 deletions

View File

@@ -93,7 +93,7 @@ export default defineComponent<DnsProviderSelectProps>({
*/
const renderSingleSelectTag = ({ option }: { option: DnsProviderOption }): VNode => {
return (
<div class="flex items-center">
<NFlex align="center">
{option.label ? (
renderLabel(option)
) : (
@@ -101,7 +101,7 @@ export default defineComponent<DnsProviderSelectProps>({
{props.type === 'dns' ? $t('t_0_1747019621052') : $t('t_0_1746858920894')}
</NText>
)}
</div>
</NFlex>
)
}

View File

@@ -180,6 +180,7 @@ nodeOptions[NOTIFY] = () =>
provider_id: '',
subject: '',
body: '',
skip: false,
},
childNode: null,
},

View File

@@ -246,6 +246,7 @@ export interface DeployConfig<
| 'aliyun-cdn'
| 'aliyun-oss'
| 'aliyun-waf'
| 'aliyun-esa'
| 'doge-cdn'
| 'baidu-cdn'
| 'qiniu-cdn'
@@ -308,6 +309,11 @@ export interface DeployStorageConfig {
bucket: string
}
// 部署阿里云ESA
export interface DeployAliyunESAConfig {
site_id: string
}
// 部署节点配置雷池WAF
export interface DeploySafelineConfig {
[key: string]: unknown
@@ -340,6 +346,7 @@ export type DeployNodeConfig = DeployConfig<
| DeployCDNConfig // 部署节点配置腾讯云CDN/阿里云CDN
| DeployWAFConfig // 部署节点配置阿里云WAF
| DeployStorageConfig // 部署节点配置腾讯云COS/阿里云OSS
| DeployAliyunESAConfig // 部署节点配置阿里云ESA
| DeploySafelineConfig // 部署节点配置雷池WAF
| DeploySafelineSiteConfig // 部署节点配置雷池WAF站点
| DeployBTPanelDockerSiteConfig // 部署节点配置宝塔docker站点
@@ -358,6 +365,7 @@ interface NotifyNodeConfig {
provider_id: string
subject: string
body: string
skip: boolean // 当结果来源为跳过状态时,跳过/继续发送通知true:跳过false:继续
}
// 定义上传节点配置类型