Переглянути джерело

feat(types): 添加IDistrict接口

LuoHaoxuan 3 роки тому
батько
коміт
11551a068d
2 змінених файлів з 9 додано та 0 видалено
  1. 8 0
      types/src/interface/area.ts
  2. 1 0
      types/src/interface/index.ts

+ 8 - 0
types/src/interface/area.ts

@@ -0,0 +1,8 @@
+export interface IDistrict {
+  id: string;
+  isLeaf: boolean;
+  level: number;
+  name: string;
+  parentId: string;
+  usetype: number;
+}

+ 1 - 0
types/src/interface/index.ts

@@ -38,3 +38,4 @@ export * from './approvalStatus';
 export * from './business';
 export * from './gatherYsProfileFile';
 export * from './platformSwitch';
+export * from './area';