From aa48e24881e75cdf12cb682718ea706b13fb2dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Wed, 20 Dec 2023 17:55:35 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=85=A8=E5=B1=80=E7=BB=84=E7=BB=87?= =?UTF-8?q?=E4=B8=8B=E7=A6=81=E6=AD=A2=E6=89=B9=E9=87=8F=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/assets/Asset/AssetList/components/BaseList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/assets/Asset/AssetList/components/BaseList.vue b/src/views/assets/Asset/AssetList/components/BaseList.vue index d66847a42..e6f4029c7 100644 --- a/src/views/assets/Asset/AssetList/components/BaseList.vue +++ b/src/views/assets/Asset/AssetList/components/BaseList.vue @@ -258,7 +258,7 @@ export default { fa: 'batch-update', can: ({ selectedRows }) => { return selectedRows.length > 0 && - !vm.currentOrgIsRoot && + !this.$store.getters.currentOrgIsRoot && vm.$hasPerm('assets.change_asset') }, callback: ({ selectedRows }) => {