From eb330c3260ede6e7bfac6ca8a8ae5d228f0110cb Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Sun, 24 Jan 2021 14:36:11 +0800 Subject: [PATCH] :bug: fix plugin store pagination error --- docs/.vuepress/components/Plugins.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/components/Plugins.vue b/docs/.vuepress/components/Plugins.vue index 5855fe67..59e6a449 100644 --- a/docs/.vuepress/components/Plugins.vue +++ b/docs/.vuepress/components/Plugins.vue @@ -44,7 +44,7 @@ @@ -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: {