mirror of
https://github.com/certd/certd.git
synced 2026-04-29 08:47:24 +08:00
chore: 修复商业版翻译导致报错的bug
This commit is contained in:
@@ -207,8 +207,8 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
|
|||||||
type: "dict-switch",
|
type: "dict-switch",
|
||||||
dict: dict({
|
dict: dict({
|
||||||
data: [
|
data: [
|
||||||
{ label: t("certd.enabled"), value: 1, color: "green" },
|
{ label: t("common.enabled"), value: 1, color: "green" },
|
||||||
{ label: t("certd.disabled"), value: 0, color: "red" },
|
{ label: t("common.disabled"), value: 0, color: "red" },
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
column: {
|
column: {
|
||||||
|
|||||||
@@ -55,15 +55,15 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
|||||||
groups: {
|
groups: {
|
||||||
base: {
|
base: {
|
||||||
header: t("certd.basicInfo"),
|
header: t("certd.basicInfo"),
|
||||||
columns: [t("certd.titlea"), t("certd.type"), t("certd.disabled"), t("certd.ordera"), t("certd.supportBuy"), t("certd.intro")],
|
columns: ["title", "type", "disabled", "order", "supportBuy", "intro"]
|
||||||
},
|
},
|
||||||
content: {
|
content: {
|
||||||
header: t("certd.packageContent"),
|
header: t("certd.packageContent"),
|
||||||
columns: [t("certd.maxDomainCount"), t("certd.maxPipelineCount"), t("certd.maxDeployCount"), t("certd.maxMonitorCount")],
|
columns: ["content.maxDomainCount", "content.maxPipelineCount", "content.maxDeployCount", "content.maxMonitorCount"]
|
||||||
},
|
},
|
||||||
price: {
|
price: {
|
||||||
header: t("certd.price"),
|
header: t("certd.price"),
|
||||||
columns: [t("certd.durationPrices")],
|
columns: ["durationPrices"]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user