Jelajahi Sumber

fix: 个人标签权限问题

lanjianrong 4 tahun lalu
induk
melakukan
147c49b2c0

+ 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"