In element, input gets the data from the server and renders it. Callback always shows that it is not a function.

The

code is as follows:
clipboard.png

clipboard.png

although it works normally, it always displays this error. I would like to ask all of you, how to correct it?

Mar.15,2021

I'm sure you didn't pass the second parameter when you called it.

    When
  1. is called, a () = > {} is passed in.
  2. or change callback (list) to typeof callback = = 'function' & & callback (list)
Menu