【新增】过期提示和到期行内显示优化

This commit is contained in:
chudong
2025-05-16 11:01:40 +08:00
parent 6a3fc17b38
commit 1818421e24
58 changed files with 81 additions and 57 deletions

View File

@@ -16,6 +16,7 @@ export const useCertManageStore = defineStore('cert-manage-store', () => {
// -------------------- 状态定义 --------------------
// 上传证书表单
const uploadForm = ref<UploadCertParams>({
cert_id: '',
cert: '',
key: '',
})
@@ -48,7 +49,6 @@ export const useCertManageStore = defineStore('cert-manage-store', () => {
*/
const downloadExistingCert = (id: string) => {
try {
// const { data } = await downloadCert({ id })
const link = document.createElement('a')
link.href = '/v1/cert/download?id=' + id
link.target = '_blank'