This commit is contained in:
@@ -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: {}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user