Mini Program setData failed

the scenario goes like this:

  • enter page A from identifying Mini Program code
  • enter a secondary page B under this page
  • return to page A
  • quit Mini Program
  • then identify and enter Mini Program

there is a problem at this time. I can call all the interfaces smoothly, but the page is blank

.

I suspect that setData is not successful, so pass in function in the second parameter of setData and console out

it is found that the console message appears in the first recognition entry, but there is no

in the second time.

this problem is troublesome because it can only be debugged in a formal environment.

does anyone know why?

May.22,2021
Menu