Browse Source

style: 优化申请证书 acme 账户显示 (#5500)

Refs https://github.com/1Panel-dev/1Panel/issues/3580
pull/5503/head
zhengkunwang 5 months ago committed by GitHub
parent
commit
4460329d2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      frontend/src/utils/util.ts
  2. 12
      frontend/src/views/website/ssl/create/index.vue

7
frontend/src/utils/util.ts

@ -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 '';

12
frontend/src/views/website/ssl/create/index.vue

@ -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…
Cancel
Save