Thinkphp5.0 view uses js to obtain session value problem
HWL_SCH
HWL_SCH 2019-02-24 18:13:45
0
2
1033

Asking for help from the masters~ Is there any master who can use TP?
2019-02-24_175218.pngIn the background, the array data is obtained through Db database query~and then spliced ​​into characters and stored in the session~
2019-02-24_174807.pngBut when the view is obtained using js, an error Uncaught ReferenceError: *** is not defined~self The explanation is that the function is output~
Attached is the code~Does anyone know?

HWL_SCH
HWL_SCH

reply all(1)
HWL_SCH

Asking for help from the masters~ Is there any master who can use TP? Reordered it ~ it was a bit confusing just now

2019-02-24_174807.png

The array data obtained through Db database query in the background ~ and then spliced ​​into characters and stored in the session ~

2019-02-24_175218.png

But when the view is obtained using js, an error occurs Uncaught ReferenceError: *** is not defined~I interpreted it as a function output~
Attached is the code~Does anyone know?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template