fix: 修复更新资产账号权限控制

This commit is contained in:
Jiangjie.Bai
2022-03-14 17:49:49 +08:00
committed by Jiangjie.Bai
parent a51edf359b
commit d52c624128

View File

@@ -139,7 +139,7 @@ export default {
{
name: 'Update',
title: this.$t('common.Update'),
can: this.$hasPerm('assets.change_authbook') && !this.$store.getters.currentOrgIsRoot,
can: this.$hasPerm('assets.change_assetaccountsecret') && !this.$store.getters.currentOrgIsRoot,
callback: ({ row }) => {
vm.account = row
vm.showUpdateSecretDialog = false