ng-yunzai-mobile
Version:
1. 修改wechat.micro.ts
16 lines (15 loc) • 365 B
TypeScript
export interface IWindow {
type?: IWindowType;
url?: string;
applicationId?: string;
shareFlag?: boolean;
nBack?: boolean;
success?: (data: any) => void;
fail?: (error: any) => void;
complete?: (msg: any) => void;
listener?: () => void;
}
export declare enum IWindowType {
NATIVE = "native",
URL = "url"
}