修复缓存条件设置时界面可能不会自动刷新的问题

This commit is contained in:
GoEdgeLab
2022-05-05 11:25:23 +08:00
parent 4a5b5d0346
commit f2e5b6c30b
5 changed files with 49 additions and 33 deletions

View File

@@ -25,8 +25,8 @@ Vue.component("ssl-certs-view", {
},
template: `<div>
<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="viewCert(cert.id)"><i class="icon external alternate"></i></a>
<div class="ui label small basic" v-for="(cert, index) in certs">
{{cert.name}} / {{cert.dnsNames}} / 有效至{{formatTime(cert.timeEndAt)}} &nbsp;<a href="" title="查看" @click.prevent="viewCert(cert.id)"><i class="icon expand blue"></i></a>
</div>
</div>
</div>`