fix: cname provider授权修改为sys级别

This commit is contained in:
xiaojunnuo
2026-03-16 23:27:24 +08:00
parent 5eb4aa3a0e
commit d01bfbec96
7 changed files with 28 additions and 6 deletions
@@ -122,7 +122,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
title: t("certd.dnsProviderAuthorization"),
type: "dict-select",
dict: dict({
url: "/pi/access/list",
url: "/sys/access/list",
value: "id",
label: "name",
}),
@@ -133,6 +133,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
type: compute(({ form }) => {
return form.dnsProviderType;
}),
from: "sys",
},
rules: [{ required: true, message: t("certd.requiredField") }],
},