The following figure
CodePudding user response:
req.jsVar studentList=[
{
Name: "xiaoming,"
Age: "22",
Hobby: "sleep"
},
{
Name: "xiaohong,"
Age: "22",
Hobby: {
One: "eat",
Two: "eatfood
"}
}
]
The module. Exports={
StudensList: studentList,
}
CodePudding user response:
I think you should be solved!Used in the test that points to this, in fact, pointing to the data on this page, so not to be found in this page attributes of the student, you should give the student to initialize a
In the data set in the student: []