소스 검색

fix: 个人标签权限问题

lanjianrong 4 년 전
부모
커밋
147c49b2c0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/pages/Customer/Company/components/PersonLabel/index.jsx

+ 1 - 1
src/pages/Customer/Company/components/PersonLabel/index.jsx

@@ -236,7 +236,7 @@ const PersonLabel = props => {
       <div className="mt-5px">
         {dropdownType === DropdownTypeEnum.check ? (
           <div className="flex justify-between">
-            {hasPermEdit ? (
+            {hasPermEdit || tagType === TagTypeEnum.PERSONTAG ? (
               <span
                 onClick={() => setDropdownType(DropdownTypeEnum.edit)}
                 className="text-primary cursor-pointer ml-3"