From aca4e4077fc9f242b5b91e177861003f2986e5f8 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Mon, 29 Jan 2024 16:19:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B4=A6=E5=8F=B7=E6=A8=A1=E7=89=88?= =?UTF-8?q?=E5=8F=AF=E5=AF=BC=E5=85=A5=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accounts/AccountTemplate/AccountTemplateList.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/accounts/AccountTemplate/AccountTemplateList.vue b/src/views/accounts/AccountTemplate/AccountTemplateList.vue index dfa669789..ff7d7fbcf 100644 --- a/src/views/accounts/AccountTemplate/AccountTemplateList.vue +++ b/src/views/accounts/AccountTemplate/AccountTemplateList.vue @@ -83,9 +83,13 @@ export default { }, headerActions: { hasRefresh: true, - hasExport: false, - hasImport: false, + hasExport: this.$hasPerm('accounts.view_accounttemplatesecret'), hasMoreActions: false, + exportOptions: { + url: '/api/v1/accounts/account-template-secrets/', + mfaVerifyRequired: true, + tips: this.$t('accounts.AccountExportTips') + }, createRoute: () => { return { name: 'AccountTemplateCreate'