@xizs/nuxt-antui 0.0.47 → 0.0.48

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.
@@ -217,9 +217,9 @@ export default defineComponent({
217
217
  }
218
218
  }
219
219
  }
220
- pagination.total = res.meta?.pagination?.total
221
- pagination.pageSize = res.meta?.pagination?.per_page||res.meta?.pagination?.perPage
222
- pagination.page = res.meta?.pagination?.current_page||res.meta?.pagination?.currentPage
220
+ pagination.total = res.meta?.pagination?.total??0
221
+ pagination.pageSize = res.meta?.pagination?.per_page??res.meta?.pagination?.perPage??0
222
+ pagination.page = res.meta?.pagination?.current_page??res.meta?.pagination?.currentPage??1
223
223
  props.attribute.reqData = res
224
224
  props.attribute.metaTableData = JSON.parse(JSON.stringify(res.list))
225
225
  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.47",
4
+ "version": "0.0.48",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",