mirror of https://github.com/certd/certd
chore:
parent
23caab5b06
commit
ba72fa3f05
|
@ -28,7 +28,7 @@ export abstract class CertApplyBaseConvertPlugin extends AbstractTaskPlugin {
|
||||||
"2、子域名被通配符包含的不要填写,例如:www.foo.com已经被*.foo.com包含,不要填写www.foo.com\n" +
|
"2、子域名被通配符包含的不要填写,例如:www.foo.com已经被*.foo.com包含,不要填写www.foo.com\n" +
|
||||||
"3、泛域名只能通配*号那一级(*.foo.com的证书不能用于xxx.yyy.foo.com、不能用于foo.com)\n" +
|
"3、泛域名只能通配*号那一级(*.foo.com的证书不能用于xxx.yyy.foo.com、不能用于foo.com)\n" +
|
||||||
"4、输入一个,空格之后,再输入下一个\n" +
|
"4、输入一个,空格之后,再输入下一个\n" +
|
||||||
"5、如果你配置了子域名托管解析,请先[设置托管子域名](#/certd/pipeline/subDomain)",
|
"5、如果你配置了子域托管解析,请先[设置托管子域名](#/certd/pipeline/subDomain)",
|
||||||
})
|
})
|
||||||
domains!: string[];
|
domains!: string[];
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,11 @@
|
||||||
import { compute, CreateCrudOptionsRet, dict } from "@fast-crud/fast-crud";
|
import { compute, CreateCrudOptionsRet, dict } from "@fast-crud/fast-crud";
|
||||||
import { useReference } from "/@/use/use-refrence";
|
import { useReference } from "/@/use/use-refrence";
|
||||||
import _, { merge } from "lodash-es";
|
import { merge, cloneDeep } from "lodash-es";
|
||||||
import { useUserStore } from "/@/store/modules/user";
|
|
||||||
import { useSettingStore } from "/@/store/modules/settings";
|
|
||||||
import * as api from "../api.plugin";
|
import * as api from "../api.plugin";
|
||||||
import NotificationSelector from "/@/views/certd/notification/notification-selector/index.vue";
|
import NotificationSelector from "/@/views/certd/notification/notification-selector/index.vue";
|
||||||
|
|
||||||
export default function (certPlugins: any[], formWrapperRef: any): CreateCrudOptionsRet {
|
export default function (certPlugins: any[], formWrapperRef: any): CreateCrudOptionsRet {
|
||||||
const inputs: any = {};
|
const inputs: any = {};
|
||||||
const userStore = useUserStore();
|
|
||||||
const settingStore = useSettingStore();
|
|
||||||
const moreParams = [];
|
const moreParams = [];
|
||||||
for (const plugin of certPlugins) {
|
for (const plugin of certPlugins) {
|
||||||
for (const inputKey in plugin.input) {
|
for (const inputKey in plugin.input) {
|
||||||
|
@ -18,7 +14,7 @@ export default function (certPlugins: any[], formWrapperRef: any): CreateCrudOpt
|
||||||
inputs[inputKey].form.show = true;
|
inputs[inputKey].form.show = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
const inputDefine = _.cloneDeep(plugin.input[inputKey]);
|
const inputDefine = cloneDeep(plugin.input[inputKey]);
|
||||||
if (!inputDefine.required && !inputDefine.maybeNeed) {
|
if (!inputDefine.required && !inputDefine.maybeNeed) {
|
||||||
moreParams.push(inputKey);
|
moreParams.push(inputKey);
|
||||||
// continue;
|
// continue;
|
||||||
|
|
|
@ -73,6 +73,18 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
||||||
search: {
|
search: {
|
||||||
show: true,
|
show: true,
|
||||||
},
|
},
|
||||||
|
form: {
|
||||||
|
helper: {
|
||||||
|
render() {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
如果您不理解什么是子域托管,可以参考文档
|
||||||
|
<a href={"https://help.aliyun.com/zh/dns/subdomain-management"}>子域管理</a>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
editForm: {
|
editForm: {
|
||||||
component: {
|
component: {
|
||||||
disabled: true,
|
disabled: true,
|
||||||
|
|
Loading…
Reference in New Issue