Home > front end >  Obtain the vue data data values
Obtain the vue data data values

Time:02-09

 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:

reference 1st floor has __ON response:
enclosing a list [0]. A
write wrong should be list: {
A: [{
A1: '1',
A2: '2'
},
B: [{
B1: '1',
B2: '2'
}]
}
To obtain the value of a1

CodePudding user response:

Enclosing a list. A [0]. A1

CodePudding user response:

Enclosing a list. A [0]. A1

CodePudding user response:

Enclosing a list. A [0]. A1

CodePudding user response:

Enclosing a list. A [0]. A1

CodePudding user response:

Enclosing a list. A [0]. A1

CodePudding user response:

Enclosing a list. A [0]. A1
  • Related