From edd6615bcf2f36e0099388b6b9b5506acc97f034 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Fri, 8 Nov 2024 10:14:48 +0800 Subject: [PATCH] chore: --- packages/core/basic/src/utils/util.options.ts | 4 ++-- .../ui/certd-client/src/views/certd/cname/record/crud.tsx | 2 ++ .../certd-client/src/views/framework/home/dashboard/index.vue | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/core/basic/src/utils/util.options.ts b/packages/core/basic/src/utils/util.options.ts index f5a0097e..96180e60 100644 --- a/packages/core/basic/src/utils/util.options.ts +++ b/packages/core/basic/src/utils/util.options.ts @@ -19,7 +19,7 @@ function groupByDomain(options: any[], inDomains: string[]) { function buildGroupOptions(options: any[], inDomains: string[]) { const grouped = groupByDomain(options, inDomains); const groupOptions = []; - groupOptions.push({ value: '', disabled: true, label: '----已匹配----' }); + groupOptions.push({ value: 'matched', disabled: true, label: '----已匹配----' }); if (grouped.matched.length === 0) { options.push({ value: '', disabled: true, label: '没有可以匹配的域名' }); } else { @@ -28,7 +28,7 @@ function buildGroupOptions(options: any[], inDomains: string[]) { } } if (grouped.notMatched.length > 0) { - groupOptions.push({ value: '', disabled: true, label: '----未匹配----' }); + groupOptions.push({ value: 'unmatched', disabled: true, label: '----未匹配----' }); for (const notMatched of grouped.notMatched) { groupOptions.push(notMatched); } diff --git a/packages/ui/certd-client/src/views/certd/cname/record/crud.tsx b/packages/ui/certd-client/src/views/certd/cname/record/crud.tsx index 9127b8f3..d6fbb12b 100644 --- a/packages/ui/certd-client/src/views/certd/cname/record/crud.tsx +++ b/packages/ui/certd-client/src/views/certd/cname/record/crud.tsx @@ -154,6 +154,8 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat } }, column: { + width: 120, + align: "center", cellRender({ value }) { if (value < 0) { return 公共CNAME; diff --git a/packages/ui/certd-client/src/views/framework/home/dashboard/index.vue b/packages/ui/certd-client/src/views/framework/home/dashboard/index.vue index 3db8ecae..0c5c727e 100644 --- a/packages/ui/certd-client/src/views/framework/home/dashboard/index.vue +++ b/packages/ui/certd-client/src/views/framework/home/dashboard/index.vue @@ -266,6 +266,7 @@ onMounted(async () => { overflow: hidden; text-overflow: ellipsis; word-break: keep-all; + white-space: nowrap; } } }