Closed moonlik closed 7 years ago
Actually, I wanted to remove '/' from the code, because it's not very flexible. For example, I customize urlPrefix:
v-bind:urlPrefix="'?page='"
In the address, it looks like:
?page=%2F1
So I dont' need that '/', and I can't remove it because you hardcoded it.
There is a bug when the unnecessary slash is added to the URL: https://github.com/vue-bulma/pagination/blob/master/src/Pagination.vue#L3 https://github.com/vue-bulma/pagination/blob/master/src/Pagination.vue#L4 https://github.com/vue-bulma/pagination/blob/master/src/Pagination.vue#L7
urlPrefix is
/
by default, so there is no need to add one more slash in those 3 lines of code.It should look like:
Please, fix it. Thank you!