problem description
in the process of development, the front end uses the Vue framework, which requires that the data returned by the interface meets the use of Vue, and then you can assign values.
includes some styles, Chinese character descriptions and so on. The server code needs to be changed when the style changes.
the environmental background of the problems and what methods you have tried
the front end doesn"t seem to have a simple algorithm, such as loop traversal, recursion, and so on, and the js function is not familiar with it.
related codes
what result do you expect? What is the error message actually seen?
it is not clear that this is the way to go now, is it, the interface directly returns the processed data? If the interface has a lot of access, isn"t it a waste of bandwidth and server resources? Even if the quantity is small, is this not standard?
confused.