feat(image): add page

This commit is contained in:
2026-03-16 20:52:26 +08:00
parent 8776d2ea6f
commit 9c72686436
28 changed files with 6325 additions and 37 deletions

View File

@@ -1070,8 +1070,8 @@ const TopTools = (
} else {
// 无id返回时跳转回任务列表页
const url = backUrl || "/"
// router.push(url)
window.location.href = url
router.push(url)
// window.location.href = url
// 重置图片比例及选中标注对象
usePaperStore.getState().resetRasterScale()
useObjectStore.getState().resetPathAndOperationStatus()
@@ -1660,8 +1660,8 @@ const TopTools = (
onClick={() => {
if (isView) {
const url = backUrl || "/"
// router.push(url)
window.location.href = url
router.push(url)
// window.location.href = url
// handleBackup("auto_backup");
// 重置图片比例及选中标注对象
usePaperStore.getState().resetRasterScale()
@@ -2248,8 +2248,8 @@ const TopTools = (
}
setConfirmOpen(false)
const url = backUrl || "/"
// router.push(url)
window.location.href = url
router.push(url)
// window.location.href = url
// 重置图片比例及选中标注对象
usePaperStore.getState().resetRasterScale()
useObjectStore.getState().resetPathAndOperationStatus()
@@ -2259,8 +2259,8 @@ const TopTools = (
setConfirmOpen(false)
handleBackup("auto_backup")
const url = backUrl || "/"
// router.push(url)
window.location.href = url
router.push(url)
// window.location.href = url
// 重置图片比例及选中标注对象
usePaperStore.getState().resetRasterScale()
useObjectStore.getState().resetPathAndOperationStatus()