feat: 增加环境切换
This commit is contained in:
Vendored
+5
@@ -31,5 +31,10 @@ interface IAppOption {
|
||||
};
|
||||
userInfoReadyCallback?: WechatMiniprogram.GetUserInfoSuccessCallback;
|
||||
getPageConfig(): Promise<PageConfigData | null>;
|
||||
/** 切换接口环境时主动重置、初始化 App;页面重建不重新运行 onLaunch。 */
|
||||
resetApiState(): void;
|
||||
warmAuthentication(): void;
|
||||
loadPageConfig(forceRefresh?: boolean): Promise<boolean>;
|
||||
refreshPageConfig(): Promise<void>;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user