🐛 fix plugin store pagination error

This commit is contained in:
yanyongyu 2021-01-24 14:36:11 +08:00
parent 109125b583
commit eb330c3260

View File

@ -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: {