@xizs/nuxt-antui 0.0.27 → 0.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -188,7 +188,7 @@ export default defineComponent({
188
188
  let pagination =reactive({
189
189
  page:1,
190
190
  pageSize:20,
191
- total:0
191
+ total:10
192
192
  })
193
193
 
194
194
 
@@ -214,8 +214,8 @@ export default defineComponent({
214
214
  }
215
215
  console.log(res)
216
216
  pagination.total = res.meta.pagination.total
217
- pagination.pageSize = res.meta.pagination.per_page
218
- pagination.page = res.meta.pagination.current_page
217
+ pagination.pageSize = res.meta.pagination.per_page||res.meta.pagination.perPage
218
+ pagination.page = res.meta.pagination.current_page||res.meta.pagination.currentPage
219
219
  props.attribute.reqData = res
220
220
  props.attribute.metaTableData = JSON.parse(JSON.stringify(res.list))
221
221
  props.attribute.tableData = res.list
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xizs/nuxt-antui",
3
3
  "type": "module",
4
- "version": "0.0.27",
4
+ "version": "0.0.28",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",