quick format
This commit is contained in:
@@ -26,7 +26,12 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</v-table>
|
||||
<v-pagination :length="pageCount" @prev="previousPage()" @next="nextPage()" @update:modelValue="setPage($event)"></v-pagination>
|
||||
<v-pagination
|
||||
:length="pageCount"
|
||||
@prev="previousPage()"
|
||||
@next="nextPage()"
|
||||
@update:modelValue="setPage($event)"
|
||||
></v-pagination>
|
||||
<button @click="previousPage()">pp</button>
|
||||
<button @click="nextPage()">np</button>
|
||||
</template>
|
||||
@@ -69,9 +74,9 @@ function nextPage() {
|
||||
loadData()
|
||||
}
|
||||
|
||||
function setPage(targetPage:number) {
|
||||
this.page=targetPage - 1
|
||||
loadData()
|
||||
function setPage(targetPage: number) {
|
||||
this.page = targetPage - 1
|
||||
loadData()
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
|
||||
Reference in New Issue
Block a user