-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Description
Version
Vben Admin V5
Describe the bug?
<div class="flex items-center space-x-0"> <Button type="link" size="small" class="px-1" @click="modelOperation('update', row.id)" :disabled="!isManagerUser(row) || !hasPermiUpdate" > 修改 </Button> <Button type="link" size="small" class="px-1" @click="handleDeploy(row)" :disabled="!isManagerUser(row) || !hasPermiDeploy" >
!isManagerUser(row) || !hasPermiDeploy 这里有问题吧,如果不是管理员,但是是有发布的权限,按钮现在也是灰色的,不是应该!isManagerUser(row) && !hasPermiDeploy 吗
Reproduction
master 分支也是一样的问题
System Info
chrome 浏览器Relevant log output
Validations
- Read the docs
- Ensure the code is up to date. (Some issues have been fixed in the latest version)
- I have searched the existing issues and checked that my issue does not duplicate any existing issues.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
No labels