Vue.js 更改默认的prop vuetify的数据表

Vue.js 更改默认的prop vuetify的数据表,vue.js,vuejs2,vuetify.js,Vue.js,Vuejs2,Vuetify.js,在vuetify的数据表中,“道具”页面的默认值为1,每当我选择“每页项目”时,它都从1开始,但“我的页面”的默认值为0 每当我为列表中的任何值选择itemsPerPageOptions时,它将从第1页开始,但我的默认值为0。如何更改vuetify的默认值并将其设置为0 data () { return { options: { page: 0, itemsPerPage: 40, }, } } <v-data-ta

在vuetify的数据表中,“道具”页面的默认值为1,每当我选择“每页项目”时,它都从1开始,但“我的页面”的默认值为0

每当我为列表中的任何值选择itemsPerPageOptions时,它将从第1页开始,但我的默认值为0。如何更改vuetify的默认值并将其设置为0

data () {
  return {
    options: {
          page: 0,
          itemsPerPage: 40,
        },
  }
}

<v-data-table
      :headers="headers"
      :items="residents"
      :options.sync="options"
      :server-items-length="totalResidents"
      :loading="loading"
      loading-text="Loading ..... Please wait"
      :footer-props="{
        itemsPerPageOptions: [5, 10, 20, 40],
        itemsPerPageText: 'Residents per page',
      }"
      :search="search"
      class="elevation-23"
    >