fix(management): fix bug

This commit is contained in:
zhangheng
2026-02-27 15:12:13 +08:00
parent cf6ef65ea6
commit 5f2d3c4be3
3 changed files with 62 additions and 22 deletions

View File

@@ -24,17 +24,14 @@ import {
} from "@mantine/core"
import { useForm } from "@mantine/form"
import { notifications } from "@mantine/notifications"
import {
IconCaretDownFilled,
IconChevronDown,
IconCornerRightUp,
} from "@tabler/icons-react"
import { IconCaretDownFilled, IconChevronDown } from "@tabler/icons-react"
import dayjs from "dayjs"
import duration from "dayjs/plugin/duration"
import {
BadgeInfoIcon,
Baseline,
ChevronDownIcon,
ChevronLeftIcon,
CirclePlus,
ClipboardList,
Cloud,
@@ -1540,12 +1537,12 @@ const TopTools = (
px="md"
flex={1}
style={{ justifyContent: "flex-start" }}>
{/* <ActionIcon
<ActionIcon
variant="transparent"
c="dark"
onClick={() => {
if (isView) {
const url = backUrl || "/project/info"
const url = backUrl || "/management/project/all"
// handleBackup("auto_backup");
router.push(url)
// 重置图片比例及选中标注对象
@@ -1556,8 +1553,8 @@ const TopTools = (
}
}}>
<ChevronLeftIcon style={{ width: 24, height: 24 }} />
</ActionIcon> */}
<ActionIcon
</ActionIcon>
{/* <ActionIcon
variant="transparent"
c="var(--mantine-color-text)"
onClick={() => {
@@ -1565,7 +1562,7 @@ const TopTools = (
window.open(url, "_blank")
}}>
<IconCornerRightUp size={22} />
</ActionIcon>
</ActionIcon> */}
<HoverCard width={280} shadow="md">
<HoverCard.Target>
<Flex align="center" style={{ maxWidth: 390 }}>