fix: 筛选条件变化页数重置
This commit is contained in:
		
							parent
							
								
									01483c626f
								
							
						
					
					
						commit
						03cb51d6e6
					
				| @ -45,6 +45,7 @@ | |||||||
|         :total="total" |         :total="total" | ||||||
|         :page-size="pageState.perPage" |         :page-size="pageState.perPage" | ||||||
|         :hide-on-single-page="false" |         :hide-on-single-page="false" | ||||||
|  |         :show-size-changer="false" | ||||||
|         size="small" |         size="small" | ||||||
|         class="pagination-box" |         class="pagination-box" | ||||||
|         :show-total="total => `共 ${total} 条`" |         :show-total="total => `共 ${total} 条`" | ||||||
| @ -139,6 +140,7 @@ const getData = () => { | |||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| const toFilt = useDebounceFn(() => { | const toFilt = useDebounceFn(() => { | ||||||
|  |   pageState.page = 1 | ||||||
|   getData(); |   getData(); | ||||||
| }, 500); | }, 500); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 sy2084
						sy2084