mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 08:12:49 +08:00
fix: 接收winopen的返回值
This commit is contained in:
parent
a451faad77
commit
8aa4490ea9
@ -65,8 +65,7 @@ export const routerTurnByPath = (
|
||||
fullPath = `${path}/${query.join('/')}`
|
||||
}
|
||||
if (windowOpen) {
|
||||
openNewWindow(fullPath)
|
||||
return
|
||||
return openNewWindow(fullPath)
|
||||
}
|
||||
if (isReplace) {
|
||||
router.replace({
|
||||
@ -110,7 +109,7 @@ export const logout = () => {
|
||||
* @param url
|
||||
*/
|
||||
export const openNewWindow = (url: string) => {
|
||||
window.open(url, '_blank')
|
||||
return window.open(url, '_blank')
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user