style: CloudFlare DNS 账号增加提示 (#3648)

pull/3652/head
zhengkunwang 10 months ago committed by GitHub
parent fce0ac2c7d
commit 1e5cd23bbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1930,6 +1930,7 @@ const message = {
httpHelper2: 'Unable to apply for a generic domain name certificate in HTTP mode', httpHelper2: 'Unable to apply for a generic domain name certificate in HTTP mode',
skipDNSCheck: 'Skip DNS check', skipDNSCheck: 'Skip DNS check',
skipDNSCheckHelper: 'If there is an application timeout problem, please check here, otherwise do not check it', skipDNSCheckHelper: 'If there is an application timeout problem, please check here, otherwise do not check it',
cfHelper: 'Do not use Global API Key',
}, },
firewall: { firewall: {
create: 'Create rule', create: 'Create rule',

@ -1811,6 +1811,7 @@ const message = {
httpHelper2: 'HTTP ', httpHelper2: 'HTTP ',
skipDNSCheck: ' DNS ', skipDNSCheck: ' DNS ',
skipDNSCheckHelper: '', skipDNSCheckHelper: '',
cfHelper: '使 Global API Key',
}, },
firewall: { firewall: {
create: '', create: '',

@ -1811,6 +1811,7 @@ const message = {
httpHelper2: 'HTTP ', httpHelper2: 'HTTP ',
skipDNSCheck: ' DNS ', skipDNSCheck: ' DNS ',
skipDNSCheckHelper: '', skipDNSCheckHelper: '',
cfHelper: '使 Global API Key',
}, },
firewall: { firewall: {
create: '', create: '',

@ -44,19 +44,21 @@
<el-form-item label="EMAIL" prop="authorization.email"> <el-form-item label="EMAIL" prop="authorization.email">
<el-input v-model.trim="account.authorization['email']"></el-input> <el-input v-model.trim="account.authorization['email']"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="API Token" prop="authorization.apiKey">
<el-input v-model.trim="account.authorization['apiKey']"></el-input>
<span class="input-help">
{{ $t('ssl.cfHelper') }}
</span>
</el-form-item>
</div> </div>
<el-form-item <el-form-item
label="API Key" label="API Key"
prop="authorization.apiKey" prop="authorization.apiKey"
v-if=" v-if="account.type === 'NameCheap' || account.type === 'NameSilo' || account.type === 'Godaddy'"
account.type === 'CloudFlare' ||
account.type === 'NameCheap' ||
account.type === 'NameSilo' ||
account.type === 'Godaddy'
"
> >
<el-input v-model.trim="account.authorization['apiKey']"></el-input> <el-input v-model.trim="account.authorization['apiKey']"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="API User" prop="authorization.apiUser" v-if="account.type === 'NameCheap'"> <el-form-item label="API User" prop="authorization.apiUser" v-if="account.type === 'NameCheap'">
<el-input v-model.trim="account.authorization['apiUser']"></el-input> <el-input v-model.trim="account.authorization['apiUser']"></el-input>
</el-form-item> </el-form-item>

Loading…
Cancel
Save