|
|
@@ -4,7 +4,7 @@ import type { App, Plugin } from 'vue';
|
|
|
import { unref } from 'vue';
|
|
|
import { isObject } from '/@/utils/is';
|
|
|
|
|
|
-export const noop = () => {};
|
|
|
+export const noop = () => { };
|
|
|
|
|
|
/**
|
|
|
* @description: Set ui mount node
|
|
|
@@ -50,7 +50,8 @@ export function openWindow(
|
|
|
noopener && feature.push('noopener=yes');
|
|
|
noreferrer && feature.push('noreferrer=yes');
|
|
|
|
|
|
- window.open(url, target, feature.join(','));
|
|
|
+ // window.open(url, target, feature.join(','));//sjl
|
|
|
+ window.open(url, target);
|
|
|
}
|
|
|
|
|
|
// dynamic use hook props
|
|
|
@@ -71,10 +72,10 @@ export function getRawRoute(route: RouteLocationNormalized): RouteLocationNormal
|
|
|
...opt,
|
|
|
matched: (matched
|
|
|
? matched.map((item) => ({
|
|
|
- meta: item.meta,
|
|
|
- name: item.name,
|
|
|
- path: item.path,
|
|
|
- }))
|
|
|
+ meta: item.meta,
|
|
|
+ name: item.name,
|
|
|
+ path: item.path,
|
|
|
+ }))
|
|
|
: undefined) as RouteRecordNormalized[],
|
|
|
};
|
|
|
}
|