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

bug: 上游菜单中的页面数据缺失 #32

Closed
zxzixuanwang opened this issue Apr 23, 2024 · 1 comment
Closed

bug: 上游菜单中的页面数据缺失 #32

zxzixuanwang opened this issue Apr 23, 2024 · 1 comment

Comments

@zxzixuanwang
Copy link

Current Behavior

点开上游的页面,就能发现只有15条数据,前端按照20条进行分页查询,但是后端只有15条返回,导致缺失5条

Expected Behavior

No response

Error Logs

No response

Steps to Reproduce

接口: /api/dynamic/upstream/list?page=1&pageSize=20&keyword=&cluster=%5B%5D&namespace=default
此带有dynamic 的请求在api.service.ts underline() 方法中,忽略了驼峰转下划线的转换
后端中,modules/dynamic/dynamic-controller./dynamic.go 获取getPage() 为 pageSize := ctx.Query("page_size"),全局搜索到,后端基本没有pageSize的query 参数获取了。

Environment

  • APINTO Dashboard version (run apinto dashboard version): v3.3.3
  • Operating system (run uname -a): 6.8.7-arch1-1 初始化提交 #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000 x86_64 GNU/Linux
@hmzzrcs
Copy link
Contributor

hmzzrcs commented Jun 12, 2024

已解决

@hmzzrcs hmzzrcs closed this as completed Jun 12, 2024
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