Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

前端只能显示100个资产 #8

Closed
suchuanrui opened this issue Aug 3, 2023 · 3 comments
Closed

前端只能显示100个资产 #8

suchuanrui opened this issue Aug 3, 2023 · 3 comments

Comments

@suchuanrui
Copy link

我检查了数据库中 导入的120多台服务器是有的 前端只显示了100台,而且是比如显示20-120 条 就是删除数据,之前不显示的前20条也不显示

@lixin59
Copy link
Owner

lixin59 commented Aug 3, 2023

请验证一下接口返回的数据是否和前端显示的一致呢

@suchuanrui
Copy link
Author

http://127.0.0.1:9090/api/v1/host?page_size=100&page_num=1

page_size为100 的时候只能显示100个资产,后端显示的返回的也只有100个
我将page_size改为200的时候 共120个资产都是显示完全了

@suchuanrui
Copy link
Author

image
我更改后显示完全
image

@lixin59 lixin59 closed this as completed in 4046f7a Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants