@xizs/nuxt-antui 0.0.26 → 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:
|
|
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/app/composables/modal.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import Form from "
|
|
3
|
-
import { AConfigProvider, AModal } from "#components"
|
|
1
|
+
import { render } from "vue"
|
|
2
|
+
import { AConfigProvider, AModal, Form } from "#components"
|
|
4
3
|
|
|
5
4
|
import zhCN from 'ant-design-vue/es/locale/zh_CN';
|
|
6
5
|
|