mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-27 12:12:57 +00:00
fix: Application List - Hold down Ctrl+to set the new window opened to still be the application list page (#4451)
This commit is contained in:
parent
8874988022
commit
36f4dfbc36
|
|
@ -568,7 +568,10 @@ function settingApplication(event: any, row: any) {
|
|||
if (event?.ctrlKey) {
|
||||
event?.preventDefault()
|
||||
event.stopPropagation()
|
||||
window.open(`/application/workspace/${row.id}/workflow`, '_blank')
|
||||
const newUrl = router.resolve({
|
||||
path: `/application/workspace/${row.id}/workflow`,
|
||||
}).href
|
||||
window.open(newUrl)
|
||||
} else {
|
||||
router.push({ path: `/application/workspace/${row.id}/workflow` })
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue