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