|
@@ -65,8 +65,7 @@ export const routerTurnByPath = (
|
|
|
fullPath = `${path}/${query.join('/')}`
|
|
fullPath = `${path}/${query.join('/')}`
|
|
|
}
|
|
}
|
|
|
if (windowOpen) {
|
|
if (windowOpen) {
|
|
|
- openNewWindow(fullPath)
|
|
|
|
|
- return
|
|
|
|
|
|
|
+ return openNewWindow(fullPath)
|
|
|
}
|
|
}
|
|
|
if (isReplace) {
|
|
if (isReplace) {
|
|
|
router.replace({
|
|
router.replace({
|
|
@@ -110,7 +109,7 @@ export const logout = () => {
|
|
|
* @param url
|
|
* @param url
|
|
|
*/
|
|
*/
|
|
|
export const openNewWindow = (url: string) => {
|
|
export const openNewWindow = (url: string) => {
|
|
|
- window.open(url, '_blank')
|
|
|
|
|
|
|
+ return window.open(url, '_blank')
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|