求助大神们~有用tp的大神?
In the background, the array data is obtained through Db database query~and then spliced into characters and stored in the session~
But when the view is obtained using js, an Uncaught ReferenceError: *** is not defined~ I interpreted it as function output~
Attached is the code~Does anyone know?
In fact, there is another way to find out the value of the session directly in the controller and pass it to the view. This will make rendering much more convenient