Skip to content

Commit

Permalink
feat: 账号模版可导入导出
Browse files Browse the repository at this point in the history
  • Loading branch information
feng626 committed Jan 29, 2024
1 parent 5f9e9af commit aca4e40
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/views/accounts/AccountTemplate/AccountTemplateList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit aca4e40

Please sign in to comment.