in the vue+ts project environment, using the find () method on an array in a fuction resulted in the following error:
:
in the vue+ts project environment, using the find () method on an array in a fuction resulted in the following error:
:
this.historyCnnectData.find((item: any, index: number): boolean => {})
if a return value declaration is missing in your find callback, the default is void
.Lazing( Garry ) hello Garray Lazing( Garry ).sleep(10).eat( rice ) hello Garray 10... eating rice Lazing( Garry ).eat( rice ).eat( bread ) eating rice eating bread Lazing( Garry ).sleepFirst(5)....
the following code, I used to read the database many times, and the data I got was looped, and after the loop, the database was queried. Finally, after resolve, the result I got was only a small part of the data, and the rest of the data was not resolve...