fix(labelnossr): fix bug

This commit is contained in:
zhangheng
2026-02-27 15:21:51 +08:00
parent 5f2d3c4be3
commit 6a19edbdfc
3 changed files with 5 additions and 4 deletions

View File

@@ -98,7 +98,7 @@ export default function PersonalTaskTable() {
variant="transparent"
onClick={async () => {
setCurrentRowId(record.id)
if ([4, 5, 6].includes(record.label_type)) {
if ([4, 5, 6, 7].includes(record.label_type)) {
setBackProps(`/project/person`)
router.push(
`/label?project_id=${record.project_id}&task_id=${record.id}`

View File

@@ -303,7 +303,7 @@ export default function TaskTableContainer(props: {
})
return
}
if (![2, 4, 6].includes(resultData.status)) {
if (![2, 4, 6, 7].includes(resultData.status)) {
notifications.show({
color: "red",
title: "错误",