pull/409/head
xiaojunnuo 2025-05-15 14:08:14 +08:00
parent 03d0efcfc6
commit 304914513e
2 changed files with 23 additions and 16 deletions

View File

@ -41,3 +41,10 @@ networks:
这是由于当前流水线的证书域名与要部署的目标站点的域名不匹配导致的,在申请证书任务中,增加目标站点域名,重新运行流水线即可 这是由于当前流水线的证书域名与要部署的目标站点的域名不匹配导致的,在申请证书任务中,增加目标站点域名,重新运行流水线即可
## 3. SSL_CERT_NOT_MATCH_DOMAIN_ERROR
部署证书任务报类似 `SSL_CERT_NOT_MATCH_DOMAIN_ERROR`错误
这是由于当前流水线的证书域名与要部署的目标站点的域名不匹配导致的,在申请证书任务中,增加目标站点域名,重新运行流水线即可
## 4. 没有服务器配置文件,请检查是否开启了外网映射!
宝塔网站证书部署报错:`Error: 没有服务器配置文件,请检查是否开启了外网映射!`
解决方案:先手动在宝塔网站中设置一次证书

View File

@ -11,13 +11,13 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) {
return "access"; return "access";
}); });
const AccessTypeDictRef = dict({ const AccessTypeDictRef = dict({
url: "/pi/access/accessTypeDict" url: "/pi/access/accessTypeDict",
}); });
const defaultPluginConfig = { const defaultPluginConfig = {
component: { component: {
name: "a-input", name: "a-input",
vModel: "value" vModel: "value",
} },
}; };
function buildDefineFields(define: any, form: any, mode: string) { 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 key = "access." + mapKey;
const field = { const field = {
...value, ...value,
key key,
}; };
const column = merge({ title: key }, defaultPluginConfig, field); const column = merge({ title: key }, defaultPluginConfig, field);
@ -77,13 +77,13 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) {
type: "dict-select", type: "dict-select",
dict: AccessTypeDictRef, dict: AccessTypeDictRef,
search: { search: {
show: true show: true,
}, },
column: { column: {
width: 200, width: 200,
component: { component: {
color: "auto" color: "auto",
} },
}, },
form: { form: {
component: { component: {
@ -100,7 +100,7 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) {
{item.label} {item.label}
</span> </span>
); );
} },
}, },
rules: [{ required: true, message: "请选择类型" }], rules: [{ required: true, message: "请选择类型" }],
valueChange: { valueChange: {
@ -116,7 +116,7 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) {
form.access = {}; form.access = {};
} }
buildDefineFields(define, form, mode); buildDefineFields(define, form, mode);
} },
}, },
helper: { helper: {
render: () => { render: () => {
@ -125,12 +125,12 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) {
return ""; return "";
} }
return <div innerHTML={utils.transformLink(define.desc)}></div>; return <div innerHTML={utils.transformLink(define.desc)}></div>;
} },
} },
}, },
addForm: { addForm: {
value: typeRef value: typeRef,
} },
} as ColumnCompositionProps, } as ColumnCompositionProps,
setting: { setting: {
column: { show: false }, column: { show: false },
@ -149,8 +149,8 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any, api: any) {
valueResolve({ form }) { valueResolve({ form }) {
const setting = form.access; const setting = form.access;
form.setting = JSON.stringify(setting); form.setting = JSON.stringify(setting);
} },
} },
} as ColumnCompositionProps } as ColumnCompositionProps,
}; };
} }