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 Report] 上传的图片列表分页器不能正确展示 #364

Open
HuiFeiYa opened this issue Jul 28, 2021 · 0 comments
Open

[Bug Report] 上传的图片列表分页器不能正确展示 #364

HuiFeiYa opened this issue Jul 28, 2021 · 0 comments

Comments

@HuiFeiYa
Copy link
Contributor

Describe the bug
上传图片分页器不能正确展示

To Reproduce

  1. 选择图片组件
  2. 点击上传,查看已经上传的图片
  3. 分页器显示不正确
    Screenshots

解决
请求 /upload/files/count 接口后设置 total 错误导致。 改为如下

    axios.get('/upload/files/count').then(res => {
      // this.total = res.data.count 改之前
       this.total = res.data
    })
@HuiFeiYa HuiFeiYa changed the title [Bug Report] [Bug Report] 上传的图片列表分页器不能正确展示 Jul 28, 2021
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

1 participant