From 304914513e3a962364c32d60406f3c504e65d367 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 15 May 2025 14:08:14 +0800 Subject: [PATCH] chore: --- docs/guide/qa/index.md | 7 ++++ .../src/views/certd/access/common.tsx | 32 +++++++++---------- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/docs/guide/qa/index.md b/docs/guide/qa/index.md index b443156e..8ab54877 100644 --- a/docs/guide/qa/index.md +++ b/docs/guide/qa/index.md @@ -41,3 +41,10 @@ networks: 这是由于当前流水线的证书域名与要部署的目标站点的域名不匹配导致的,在申请证书任务中,增加目标站点域名,重新运行流水线即可 +## 3. SSL_CERT_NOT_MATCH_DOMAIN_ERROR +部署证书任务报类似 `SSL_CERT_NOT_MATCH_DOMAIN_ERROR`错误 +这是由于当前流水线的证书域名与要部署的目标站点的域名不匹配导致的,在申请证书任务中,增加目标站点域名,重新运行流水线即可 + +## 4. 没有服务器配置文件,请检查是否开启了外网映射! +宝塔网站证书部署报错:`Error: 没有服务器配置文件,请检查是否开启了外网映射!` +解决方案:先手动在宝塔网站中设置一次证书 \ No newline at end of file diff --git a/packages/ui/certd-client/src/views/certd/access/common.tsx b/packages/ui/certd-client/src/views/certd/access/common.tsx index a725805d..60590eba 100644 --- a/packages/ui/certd-client/src/views/certd/access/common.tsx +++ b/packages/ui/certd-client/src/views/certd/access/common.tsx @@ -11,13 +11,13 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) { return "access"; }); const AccessTypeDictRef = dict({ - url: "/pi/access/accessTypeDict" + url: "/pi/access/accessTypeDict", }); const defaultPluginConfig = { component: { name: "a-input", - vModel: "value" - } + vModel: "value", + }, }; function buildDefineFields(define: any, form: any, mode: string) { @@ -34,7 +34,7 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) { const key = "access." + mapKey; const field = { ...value, - key + key, }; const column = merge({ title: key }, defaultPluginConfig, field); @@ -77,13 +77,13 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) { type: "dict-select", dict: AccessTypeDictRef, search: { - show: true + show: true, }, column: { width: 200, component: { - color: "auto" - } + color: "auto", + }, }, form: { component: { @@ -100,7 +100,7 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) { {item.label} ); - } + }, }, rules: [{ required: true, message: "请选择类型" }], valueChange: { @@ -116,7 +116,7 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) { form.access = {}; } buildDefineFields(define, form, mode); - } + }, }, helper: { render: () => { @@ -125,12 +125,12 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) { return ""; } return
; - } - } + }, + }, }, addForm: { - value: typeRef - } + value: typeRef, + }, } as ColumnCompositionProps, setting: { column: { show: false }, @@ -149,8 +149,8 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) { valueResolve({ form }) { const setting = form.access; form.setting = JSON.stringify(setting); - } - } - } as ColumnCompositionProps + }, + }, + } as ColumnCompositionProps, }; }