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' &&
|
typeof my.showToast === 'function' &&
|
||||||
my.isFRM !== true;
|
my.isFRM !== true;
|
||||||
|
|
||||||
export const isWeChatMiniProgram =
|
export const isMini = isMiniAli && isMiniScene;
|
||||||
typeof wx !== 'undefined' &&
|
|
||||||
wx !== null &&
|
|
||||||
(typeof wx.request !== 'undefined' || typeof wx.miniProgram !== 'undefined');
|
|
||||||
|
|
||||||
export const isMini = (isMiniAli || isWeChatMiniProgram) && isMiniScene;
|
|
||||||
|
|
||||||
export const miniWindow = {
|
export const miniWindow = {
|
||||||
atob,
|
atob,
|
||||||
|
|
Loading…
Reference in New Issue