perf: 账号模版按钮 优化

This commit is contained in:
feng 2023-04-18 18:12:46 +08:00
parent 6e4ea15d82
commit 301d3a79b7

View File

@ -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