fix: type error
This commit is contained in:
		
							parent
							
								
									10324d5799
								
							
						
					
					
						commit
						1f83b6abf9
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -139,7 +139,7 @@ function filterInfo(info: Coperation[], filterList: FilterInfoOption) { | ||||||
|   const checkMap = new Map<string, boolean>(); |   const checkMap = new Map<string, boolean>(); | ||||||
|   for (const l of filterList.list) { |   for (const l of filterList.list) { | ||||||
|     for (const i of l.items) { |     for (const i of l.items) { | ||||||
|       checkMap.set(i.code, l.include); |       checkMap.set(i.Code, l.include); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|   return info.filter((x) => { |   return info.filter((x) => { | ||||||
|  |  | ||||||
|  | @ -18,8 +18,8 @@ export interface PageCorpsInfo { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| export interface CorpSimple { | export interface CorpSimple { | ||||||
|   code: string; |   Code: string; | ||||||
|   name: string; |   Name: string; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| export async function fetchPageInfo(pageName: string): Promise<PageCorpsInfo>{ | export async function fetchPageInfo(pageName: string): Promise<PageCorpsInfo>{ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue