mirror of
				https://github.com/soybeanjs/soybean-admin.git
				synced 2025-11-04 07:43:42 +08:00 
			
		
		
		
	fix(projects): menu fixedIndexInTab default null
This commit is contained in:
		
							
								
								
									
										2
									
								
								src/typings/api.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/typings/api.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -220,7 +220,7 @@ declare namespace Api {
 | 
			
		||||
      /** By default, the same route path will use one tab, if set to true, it will use multiple tabs */
 | 
			
		||||
      multiTab?: boolean;
 | 
			
		||||
      /** If set, the route will be fixed in tabs, and the value is the order of fixed tabs */
 | 
			
		||||
      fixedIndexInTab?: number;
 | 
			
		||||
      fixedIndexInTab?: number | null;
 | 
			
		||||
      /** if set query parameters, it will be automatically carried when entering the route */
 | 
			
		||||
      query: Record<string, string>;
 | 
			
		||||
      /** menu buttons */
 | 
			
		||||
 
 | 
			
		||||
@@ -105,7 +105,7 @@ function createDefaultModel(): Model {
 | 
			
		||||
    keepAlive: false,
 | 
			
		||||
    href: '',
 | 
			
		||||
    multiTab: false,
 | 
			
		||||
    fixedIndexInTab: 0,
 | 
			
		||||
    fixedIndexInTab: null,
 | 
			
		||||
    roles: [],
 | 
			
		||||
    buttons: [],
 | 
			
		||||
    query: {}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user