mirror of https://gitee.com/antv-l7/antv-l7
feat: test
This commit is contained in:
parent
56b126f629
commit
a3e2f37897
|
@ -42,12 +42,7 @@ export const isMiniAli =
|
|||
typeof my.showToast === 'function' &&
|
||||
my.isFRM !== true;
|
||||
|
||||
export const isWeChatMiniProgram =
|
||||
typeof wx !== 'undefined' &&
|
||||
wx !== null &&
|
||||
(typeof wx.request !== 'undefined' || typeof wx.miniProgram !== 'undefined');
|
||||
|
||||
export const isMini = (isMiniAli || isWeChatMiniProgram) && isMiniScene;
|
||||
export const isMini = isMiniAli && isMiniScene;
|
||||
|
||||
export const miniWindow = {
|
||||
atob,
|
||||
|
|
Loading…
Reference in New Issue