[SSL证书]选择证书表格中显示是否已经选择

This commit is contained in:
刘祥超
2020-12-04 09:25:35 +08:00
parent df0cbe1f5c
commit 21b8326bd5
3 changed files with 22 additions and 4 deletions

View File

@@ -35,7 +35,8 @@
<span class="ui label green tiny basic" v-else>有效中</span>
</td>
<td>
<a href="" @click.prevent="selectCert(cert)">选择</a>
<a href="" @click.prevent="selectCert(cert)" v-if="!certInfos[index].isSelected">选择</a>
<span v-else>已选</span>
</td>
</tr>
</table>