Home > Mobile >  WeChat small program development, problems of the values in an array
WeChat small program development, problems of the values in an array

Time:10-11

Wx. GetStorage ({
Key: 'amount',
Success: the function (res) {
})
The console. The log (res) data)
},
}),

Print out the contents of the specified amount [{" amount ":" 123123 ", "borrower" : "121", "receiver" : "12", "borrowerAccount" : "12"}]
But I want to get to the inside of the content, how to take

CodePudding user response:

Wx. GetStorage ({
Key: 'amount',
Success: the function (res) {
The console. The log (res) data) amount)//object take
The console. The log (res) data [0]) amount)//array so take
})

},
}),
  • Related