修改cf使用authToken的方式申请证书,修复因前后端cf名称不一致导致的指针错误

This commit is contained in:
wsczx
2023-05-04 19:08:40 +08:00
parent fd5ec7f86a
commit fe9b84ce98
3 changed files with 10 additions and 18 deletions

View File

@@ -318,8 +318,7 @@ export default {
secretKey: "",
},
cfcloud: {
authEmail: "",
authKey: "",
authToken: "",
},
},
customCert: { cert: "", key: "" },
@@ -399,19 +398,13 @@ export default {
],
cfcloud: [
{
label: "Email",
prop: "email",
component: "el-input",
type: "text",
},
{
label: "AuthKey",
prop: "authKey",
label: "AuthToken",
prop: "authToken",
component: "el-input",
type: "password",
rules: {
required: true,
message: "请输入正确的APIKey",
message: "请输入正确的AuthToken",
trigger: "blur",
},
},