mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
feat: 账号模版可导入导出
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user