feat(image): add page
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user