Home > front end >  For help, a problem about front-end JSON conversion
For help, a problem about front-end JSON conversion

Time:12-04

Front a problems in the development process as shown in figure 1

A figure above is a TABLE, the following is a set of the JSON format, what is the circulation way can for this group of JSON cycle figure 1 into the TABLE above form?
TABLE form code structure as shown in figure 2
Great god give advice or comments, thank you!

CodePudding user response:

You can parse the json?

CodePudding user response:

First, you this is not a json format,,, if is on the front end can consider their attributes and then assign a value object definition, through json. The parse () into json

CodePudding user response:

Vue object binding easily solve specific attribute values

CodePudding user response:

Some difficulty, need according to the depth to determine the number of columns and rows, can advance architecture data, the data again replace node operation,

CodePudding user response:

Use element component
  •  Tags:  
  • Ajax
  • Related