data () {
Return {
List: [{
A: '1',
B: '2',
}]
}
}
How to obtain a value?
CodePudding user response:
Enclosing a list [0]. A
CodePudding user response:
Write the wrong should be a list: {
A: [{
A1: '1',
A2: '2'
},
B: [{
B1: '1',
B2: '2'
}]
}
To obtain the value of a1
CodePudding user response: