wechatMp的env补齐

This commit is contained in:
Xu Chang 2024-01-26 19:12:19 +08:00
parent ed54b3040d
commit c4951d7e13
2 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,9 @@ export type WechatMpEnv = {
theme?: 'light' | 'dark';
enableDebug: boolean;
deviceOrientation: 'portrait' | 'landscape';
host: {
appId: string;
};
localStorageEnabled: true;
};
export type WebEnv = {

View File

@ -33,6 +33,9 @@ export type WechatMpEnv = {
theme?: 'light' | 'dark'; // 主题
enableDebug: boolean; // 是否打开调试
deviceOrientation: 'portrait' | 'landscape'; // 横屏还是竖屏
host: {
appId: string; // 宿主 app 对应的 appId
};
localStorageEnabled: true;
};