Giter Club home page Giter Club logo

Comments (2)

2019Cyps avatar 2019Cyps commented on May 29, 2024

公司要做一个简单的数据展示,默认我后台将所有数据返回出来,超过了 table 组件每页 10 条的限制,出现自动分页按钮。

页面上有两个按钮,按下按钮给后台传递参数进行查询过滤(如全部、品类A),调用 axios 组装 params 重新请求数据,表格的 tableData 清空重新获取。

现在第一次在全部第4页中点击品类 A,期待是在品类 A 第1页,结果仍然是品类A的第4页。

因此想跳转到品类 A 展示的第1页,不知道怎么做。看教程需要自定 pagination ?

对前端不太熟悉,请大佬解答疑惑。

在table的pagination属性中定义current页码参数 这点没有在文档里体现。

from arco-design-vue.

CHN-STUDENT avatar CHN-STUDENT commented on May 29, 2024

@2019Cyps 不好意思,已经解决咯,多谢!

from arco-design-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.