Inside Mini Program, setData has a number, which is rendered by {{}}, and the result is [object Object]

this is the data of setData
clipboard.png,
how can I render normally?

Feb.27,2021

that is an array of objects. You want to render a certain value obj [0] .xxx attribute to get the specific value {{}}


yours is an object, just like that when rendered, you can take a property inside and put it in {{}}

.
Menu