fix: 修复域名管理无法创建tencent-eo dns授权的bug

https://github.com/certd/certd/issues/587
This commit is contained in:
xiaojunnuo
2025-11-26 23:36:34 +08:00
parent e9427b4694
commit 3406bb5a4a
3 changed files with 12 additions and 12 deletions
@@ -184,7 +184,8 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
name: "AccessSelector",
vModel: "modelValue",
type: compute(({ form }) => {
return form.dnsProviderType;
const type = form.dnsProviderType || "aliyun";
return dnsProviderTypeDict?.dataMap[type]?.accessType;
}),
},
show: compute(({ form }) => {