test-nut-ui
Version:
<p align="center"> <img alt="logo" src="https://img11.360buyimg.com/imagetools/jfs/t1/211965/25/7152/22022/61b16785E433119bb/aa41d7a9f7e823f3.png" width="150" style="margin-bottom: 10px;"> </p>
41 lines (40 loc) • 880 B
TypeScript
export interface RegionData {
name?: string;
[key: string]: any;
}
export interface ChangeData {
next: string;
value: string | RegionData;
custom: string;
}
export interface CloseCallBackData extends Regions {
addressIdStr: string;
addressStr: string;
}
export interface ResultData {
data: CloseCallBackData | AddressList;
type: string;
}
export interface AddressList {
id?: string | number;
provinceName: string;
cityName: string;
countyName: string;
townName: string;
addressDetail: string;
selectedAddress: boolean;
name?: string;
phone?: string;
}
export interface CurrentData {
next: string;
value: string | RegionData;
custom: string;
selectedRegion?: Regions;
}
export interface Regions {
province: RegionData;
city: RegionData;
county: RegionData;
town: RegionData;
}