Merge branch 'zh' into 'main'
Zh See merge request prism/lable/labelmain!26
This commit is contained in:
@@ -8,10 +8,10 @@ import {
|
||||
usePermissionStore,
|
||||
} from "@/components/label/store/auth"
|
||||
import {
|
||||
SettingCustomPageSizeControl,
|
||||
SettingDataTable,
|
||||
SettingHeaderActions,
|
||||
SettingListHeader,
|
||||
SettingCustomPageSizeControl,
|
||||
usePersistentPageSizeOptions,
|
||||
} from "@/components/setting/PageSurface"
|
||||
import { Button, Group, Stack, Text, UnstyledButton } from "@mantine/core"
|
||||
@@ -97,7 +97,7 @@ export default function PersonalTaskTable() {
|
||||
<UnstyledButton
|
||||
onClick={async () => {
|
||||
setCurrentRowId(record.id)
|
||||
if ([4, 5, 6, 7].includes(record.label_type)) {
|
||||
if ([1, 2, 4, 5, 6, 7].includes(record.label_type)) {
|
||||
setBackProps(`/person/dashboard`)
|
||||
if ([4, 5, 6].includes(record.label_type)) {
|
||||
// router.replace(
|
||||
@@ -109,6 +109,8 @@ export default function PersonalTaskTable() {
|
||||
// `/video/label?project_id=${record.project_id}&task_id=${record.id}`
|
||||
// )
|
||||
window.location.href = `/video/label?project_id=${record.project_id}&task_id=${record.id}`
|
||||
} else if ([1, 2].includes(record.label_type)) {
|
||||
window.location.href = `/lidar/lidar-point?project_id=${record.project_id}&task_id=${record.id}`
|
||||
}
|
||||
} else {
|
||||
// await runCommand(
|
||||
|
||||
@@ -174,7 +174,10 @@ export const theme = createTheme({
|
||||
color: "#4E5969",
|
||||
},
|
||||
arrow: {
|
||||
borderColor: "#E5E6EB",
|
||||
borderTopColor: "#E5E6EB",
|
||||
borderRightColor: "#E5E6EB",
|
||||
borderBottomColor: "#E5E6EB",
|
||||
borderLeftColor: "#E5E6EB",
|
||||
background: "#FFFFFF",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user