This commit is contained in:
2020-01-10 19:47:20 +00:00
parent 56e4f4a32f
commit eb6e285fba
4 changed files with 53 additions and 9 deletions

View File

@@ -1,12 +1,14 @@
<template>
<v-data-table
:headers="headers"
:items="desserts"
:options.sync="options"
:server-items-length="totalDesserts"
:loading="loading"
class="elevation-1"
></v-data-table>
<v-container>
<v-data-table
:headers="headers"
:items="records"
:options.sync="options"
:server-items-length="totalRecords"
:loading="loading"
class="elevation-1"
></v-data-table>
</v-container>
</template>
<script>
@@ -16,7 +18,13 @@
export default {
created() {},
data() {
return {};
return {
loading: true,
options: {},
headers: [],
totalRecords: 0,
records: []
};
},
methods: {}
};