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

CodePudding user response:

leaf MAO references 4 floor response:
in general the incoming goods id to details page, detail page to get product by id information, interface, find the back-end
he no other writing, is a request to put all the data back to me

CodePudding user response:

Oliver
reference 3 floor response: yoon
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
that react to what

CodePudding user response:

Once data is problematic, for all the data stored in the web side inside the store if it is in the details page refresh the page data, so change on the details page request API to get the data better

CodePudding user response:

references 9 f jio can reply:
once data is problematic, for all the data stored in the web side inside the store if it is in the details page refresh the page data, so change to in details page request API to get the data better
but in details page requests a single commodity ID words don't get this data, or all, because he didn't put the goods ID added as a filter condition, I don't know how to get it now

CodePudding user response:

Direct feedback to your leadership, to view a single commodity details how could return all goods goods details data!

CodePudding user response:

11 references jio can reply:
direct feedback to your leadership, to view a single commodity details how could return all goods goods details data!
I and he said , he said back to give me all the data, data only need to click on a single commodity put the goods just preach the past... He says, and then I see the Vue should be routing, transfer the react I don't know how to get

CodePudding user response:

You asked him if the details page refresh the page will be how to deal with

CodePudding user response:

reference 13 floor jio can reply:
you ask him what do you do if the details page refresh the page
like empty after the refresh data

CodePudding user response:

On the 14th floor dongdong
reference Da response:
Quote: refer to the 13th floor jio can reply:
you asked him if the details page refresh the page will be how to deal with
if this clears the data after the refresh


It is not just a matter of such a big bug not hurriedly avoids
Let him write interface is just a matter of how much something, a few minutes

CodePudding user response:

Is sure not to give you a list and details of the data must be in two slits, front desk so much data, easy to a problem, let the backend interface

CodePudding user response:

reference sha worm agent on 16th floor response:
is sure not to give you a list and details of the data must be in two slits, front desk so much data, easy to a problem, let the background plus interface
good

CodePudding user response:

The
reference cat cat cat cat cat 15 floor? Response:
Quote: dongdong Da reference 14 floor response:
Quote: refer to the 13th floor jio can reply:
you asked him if the details page refresh the page will be how to deal with
if this clears the data after the refresh


It is not just a matter of such a big bug not hurriedly avoids
Let him write interface is just a matter of how much something, a few minutes away
good
  • Related