1. For example, in the tab switching page like the following, the method I use now is to click the current option to call the API, such as click all to call, click to withdraw and call once, but this will waste the interface. What I want to do now is to call all at once, do I need to write three functions? If I call it in a loop, I don"t think so, because there is also a click paging function to find a simple method
.function () {
console.log(1)
}