Hello, seniors. Recently, I encountered a problem that is difficult to solve when writing vue. It is like this
.data is a variable that calls api, and then assigns values to me
I have asked other people whether they said that dom had already started to render the data before the request was received, resulting in an error in the following sentence item.artists [0] .name. I am not sure whether it is this or the previous item.name,
.in short, before getting the data, the data has been rendered, resulting in an error. I want to know how to delay rendering!? How to make sure you get the data before rendering!??
excuse me, I hope your seniors can give me your advice!