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 jsonCodePudding user response:
Vue object binding easily solve specific attribute valuesCodePudding 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