export const eAddressTypeEnum = { TYPE: 1 | 2 | 3, province: 1, city: 2, district: 3, } as const; /** * 异步获取地址数据类型 * @author 韦胜健 * @date 2022.12.16 23:02 */ export interface iAddressLazyMeta { label: string, code: string, type: typeof eAddressTypeEnum.TYPE, parentCode?: string, } /** * 一次性获取地址数据类型 * @author 韦胜健 * @date 2022.12.16 23:02 */ export interface iAddressSyncMeta { label: string, code: string, type: typeof eAddressTypeEnum.TYPE, parentCode?: string, children?: iAddressSyncMeta[], }