From bf6c705eda5d30881a2ee2b954de3e123e6cc078 Mon Sep 17 00:00:00 2001 From: wangshuaiswim Date: Thu, 16 Feb 2023 14:31:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DPermissionButton?= =?UTF-8?q?=E7=A6=81=E7=94=A8=E4=B8=8D=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PermissionButton/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PermissionButton/index.vue b/src/components/PermissionButton/index.vue index ee9af547..57268e91 100644 --- a/src/components/PermissionButton/index.vue +++ b/src/components/PermissionButton/index.vue @@ -100,8 +100,8 @@ const isPermission = computed(() => { }) const _isPermission = computed(() => 'hasPermission' in props && isPermission.value - ? 'disabled' in buttonProps - ? buttonProps.disabled as boolean + ? 'disabled' in _buttonProps + ? _buttonProps.disabled as boolean : false : true )