mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-30 05:42:19 +00:00
perf: 账号模版按钮 优化
This commit is contained in:
@@ -321,7 +321,6 @@ export default {
|
||||
{
|
||||
name: 'add-template',
|
||||
title: this.$t('common.TemplateAdd'),
|
||||
type: 'primary',
|
||||
has: !(this.platform || this.asset),
|
||||
can: () => {
|
||||
return vm.$hasPerm('accounts.add_account') && !this.$store.getters.currentOrgIsRoot
|
||||
|
||||
Reference in New Issue
Block a user