wechatPublicConfig添加location

This commit is contained in:
lxy 2024-09-04 11:36:05 +08:00
parent 76d5a1891e
commit b4097fbcf1
1 changed files with 6 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export type WebConfig = {
}; };
passport?: Passport[]; passport?: Passport[];
location: { location: {
protocol: 'http:' | 'https:'; protocol: 'http' | 'https';
host: string; host: string;
port: string; port: string;
} }
@ -63,6 +63,11 @@ export type WechatPublicConfig = {
originalId: string; //原始id originalId: string; //原始id
}; };
passport?: Passport[]; passport?: Passport[];
location: {
protocol: 'http' | 'https';
host: string;
port: string;
}
}; };
export type NativeConfig = { export type NativeConfig = {