[
{
"mobile": 9860123445,
"_id": "5d1ef9bb88fb7f105d48405c",
"name": "Bishal Gurung",
"address": "Boharatar",
"email": "bishal@gmail.com",
"owner": "5d1c50ee91723b3ca4052686",
"__v": 0
},
{
"mobile": 9860333445,
"_id": "5d1ff09180977225b9853705",
"name": "Shiva Tandava",
"address": "Kailash",
"email": "shiva@gmail.com",
"owner": "5d1c50ee91723b3ca4052686",
"__v": 0
},
{
"mobile": 9800000000,
"_id": "5d213eaed3427411d7fe13df",
"name": "Venom Shrestha",
"email": "venom@gmail.com",
"address": "planetVenom",
"owner": "5d1c50ee91723b3ca4052686",
"__v": 0
}
]
<div id="pagination"></div>
这些值存储在数组中,我想使用分页查看这些数据,我使用过pagination.js,但无法使用它们。
当我选择第1、3或4页时,应显示数据,依此类推。 我尝试使用循环似乎无法正常工作