Browse Source

fix(bugs): bugID=27786

tangning 3 years ago
parent
commit
711861ac35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/rightsEnterprises/list.vue

+ 1 - 1
src/views/rightsEnterprises/list.vue

@@ -29,7 +29,7 @@
             },
             {
               label: '解绑',
-              ifShow: record.state == 0 && !!record.userId,
+              ifShow: getCheckRole([RoleEnum.PLAT_ADMIN]) && record.state == 0 && !!record.userId,
               color: 'error',
               onClick: handleUpBind.bind(null, record),
             },