‘首次‘

This commit is contained in:
fz
2023-08-30 09:44:26 +08:00
parent c119608fb2
commit cfd272743d
236 changed files with 33203 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
export function getDevtoolsGlobalHook() {
return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;
}
export function getTarget() {
// @ts-ignore
return (typeof navigator !== 'undefined' && typeof window !== 'undefined')
? window
: typeof global !== 'undefined'
? global
: {};
}
export const isProxyAvailable = typeof Proxy === 'function';