wechatMp的env补齐
This commit is contained in:
parent
ed54b3040d
commit
c4951d7e13
|
|
@ -31,6 +31,9 @@ export type WechatMpEnv = {
|
|||
theme?: 'light' | 'dark';
|
||||
enableDebug: boolean;
|
||||
deviceOrientation: 'portrait' | 'landscape';
|
||||
host: {
|
||||
appId: string;
|
||||
};
|
||||
localStorageEnabled: true;
|
||||
};
|
||||
export type WebEnv = {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@ export type WechatMpEnv = {
|
|||
theme?: 'light' | 'dark'; // 主题
|
||||
enableDebug: boolean; // 是否打开调试
|
||||
deviceOrientation: 'portrait' | 'landscape'; // 横屏还是竖屏
|
||||
host: {
|
||||
appId: string; // 宿主 app 对应的 appId
|
||||
};
|
||||
localStorageEnabled: true;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue