mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-14 06:13:17 +03:30
fix pagination
This commit is contained in:
@@ -208,9 +208,10 @@ export default {
|
||||
urls.listPackage(filter)
|
||||
);
|
||||
if (result && result.status == 200) {
|
||||
this.items = result.data.data.data;
|
||||
this.currentPage = result.data.data.current_page;
|
||||
this.lastPage = result.data.data.last_page;
|
||||
const { data, meta } = result.data;
|
||||
this.items = data;
|
||||
this.currentPage = meta.current_page;
|
||||
this.lastPage = meta.last_page;
|
||||
}
|
||||
this.loadMedicalCenters();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user