feat: 初始化
This commit is contained in:
8
uni_modules/lime-shared/isBrowser/index.ts
Normal file
8
uni_modules/lime-shared/isBrowser/index.ts
Normal file
@ -0,0 +1,8 @@
|
||||
// @ts-nocheck
|
||||
// #ifdef WEB
|
||||
export const isBrowser = typeof window !== 'undefined';
|
||||
// #endif
|
||||
|
||||
// #ifndef WEB
|
||||
export const isBrowser = false;
|
||||
// #endif
|
Reference in New Issue
Block a user