mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-24 14:54:43 +08:00
style: 优化申请证书 acme 账户显示 (#5500)
Refs https://github.com/1Panel-dev/1Panel/issues/3580
This commit is contained in:
parent
f59bea27e8
commit
4460329d2d
2 changed files with 2 additions and 17 deletions
|
@ -505,13 +505,6 @@ export async function copyText(content: string) {
|
|||
}
|
||||
}
|
||||
|
||||
export function getRuleType(ruleType: string) {
|
||||
if (ruleType == '') {
|
||||
return '';
|
||||
}
|
||||
return i18n.global.t(`xpack.waf.${ruleType}`);
|
||||
}
|
||||
|
||||
export function getAction(action: string) {
|
||||
if (action == '') {
|
||||
return '';
|
||||
|
|
|
@ -39,16 +39,8 @@
|
|||
:label="acme.email + ' [' + getAccountName(acme.type) + '] '"
|
||||
:value="acme.id"
|
||||
>
|
||||
<el-row>
|
||||
<el-col :span="11">
|
||||
<span>{{ acme.email }}</span>
|
||||
</el-col>
|
||||
<el-col :span="11">
|
||||
<span>
|
||||
<el-tag type="success">{{ getAccountName(acme.type) }}</el-tag>
|
||||
</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<span>{{ acme.email }}</span>
|
||||
<el-tag type="success" class="ml-2">{{ getAccountName(acme.type) }}</el-tag>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
|
Loading…
Reference in a new issue