feat: test

This commit is contained in:
shihui 2023-02-02 17:57:24 +08:00
parent 56b126f629
commit a3e2f37897
1 changed files with 1 additions and 6 deletions

View File

@ -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,