Home > front end > To get the goods paging data, how to click on a product to jump to the goods from the details
To get the goods paging data, how to click on a product to jump to the goods from the details
Time:12-07
Background to return to my goods data with detailed information, how to jump to click a commodity for details regarding the commodities information, interface returned to all the information, but the way tired url splicing commodity ID details to a single, I don't know how to put these parameters are passed to the details page
CodePudding user response:
I have so far only url joining together the way to a single commodity ID details, return all information directly to me now, I use the stitching way of commodity ID can't get a single data, he wanted me to pass parameters directly in the past
CodePudding user response:
The backend must interface with the commodity details, he will charge you, didn't let him to write,
CodePudding user response:
Either in the form of props, or save vuex, so the advantage of the writing is just need to request a can get all the data, open the details of the speed quickly, the downside is that the data quantity is larger when the list will open slowly
CodePudding user response:
In general the incoming goods id to details page, page for details again according to the id for commodity information, find the backend interface
CodePudding user response:
He didn't write, it is a request to all data back to me
CodePudding user response:
With goods id call interface again he didn't write you lie prone to sleep