fix(management): fix bug
This commit is contained in:
@@ -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 }}>
|
||||
|
||||
Reference in New Issue
Block a user