|
|
@@ -47,10 +47,11 @@ const PersonLabel = props => {
|
|
|
|
|
|
const [checkedIds, setCheckedIds] = useState([])
|
|
|
useEffect(() => {
|
|
|
+ // console.log('111')
|
|
|
if (modeType === LabelModeType.column) {
|
|
|
setCheckedIds(tagIds)
|
|
|
}
|
|
|
- }, [tagIds, dataId])
|
|
|
+ }, [])
|
|
|
|
|
|
const [showOkBtn, setShowOkBtn] = useState(false)
|
|
|
const initData = () => {
|
|
|
@@ -102,9 +103,12 @@ const PersonLabel = props => {
|
|
|
) : null}
|
|
|
</div>
|
|
|
) : (
|
|
|
- <>
|
|
|
- <Button onClick={() => setDropdownType(DropdownTypeEnum.check)}>返回</Button>
|
|
|
- </>
|
|
|
+ <Button
|
|
|
+ size="small"
|
|
|
+ className="ml-5px"
|
|
|
+ onClick={() => setDropdownType(DropdownTypeEnum.check)}>
|
|
|
+ 返回
|
|
|
+ </Button>
|
|
|
)}
|
|
|
</div>
|
|
|
</div>
|