mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-31 15:06:42 +00:00 
			
		
		
		
	🐛 fix plugin store pagination error
This commit is contained in:
		| @@ -44,7 +44,7 @@ | ||||
|           <v-col | ||||
|             cols="12" | ||||
|             sm="6" | ||||
|             v-for="(plugin, index) in filteredPlugins" | ||||
|             v-for="(plugin, index) in displayPlugins" | ||||
|             :key="index" | ||||
|           > | ||||
|             <v-card> | ||||
| @@ -126,6 +126,9 @@ export default { | ||||
|           plugin.author.indexOf(this.filterText) != -1 | ||||
|         ); | ||||
|       }); | ||||
|     }, | ||||
|     displayPlugins() { | ||||
|       return this.filteredPlugins.slice((this.page - 1) * 10, this.page * 10); | ||||
|     } | ||||
|   }, | ||||
|   methods: { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user