修复TLS证书配置时无法删除证书的问题

This commit is contained in:
刘祥超
2021-04-28 14:56:47 +08:00
parent 554d0daf6d
commit 609794b2d8
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ Vue.component("ssl-certs-box", {
<input type="hidden" name="certIdsJSON" :value="JSON.stringify(certIds())"/>
<div v-if="certs != null && certs.length > 0">
<div class="ui label small" v-for="(cert, index) in certs">
{{cert.name}} / {{cert.dnsNames}} / 有效至{{formatTime(cert.timeEndAt)}} &nbsp; <a href="" title="删除" @click.prevent="removeCert()"><i class="icon remove"></i></a>
{{cert.name}} / {{cert.dnsNames}} / 有效至{{formatTime(cert.timeEndAt)}} &nbsp; <a href="" title="删除" @click.prevent="removeCert(index)"><i class="icon remove"></i></a>
</div>
<div class="ui divider" v-if="buttonsVisible()"></div>
</div>