mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 11:24:17 +00:00
perf: 全局组织下资产详情不能模版添加账号
This commit is contained in:
@@ -56,7 +56,7 @@ export default {
|
||||
{
|
||||
name: this.$t('route.AccountTemplate'),
|
||||
title: this.$t('route.AccountTemplate'),
|
||||
can: () => this.$hasPerm('accounts.view_accounttemplate'),
|
||||
can: () => this.$hasPerm('accounts.view_accounttemplate') && !this.$store.getters.currentOrgIsRoot,
|
||||
callback: () => {
|
||||
this.templateDialogVisible = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user