亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Thinkphp5.0 view uses js to obtain session value problem
HWL_SCH
HWL_SCH 2019-02-24 18:21:35
0
2
1307
求助大神們~有用tp的大神?

2019-02-24_174807.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_175218.pngBut 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?

HWL_SCH
HWL_SCH

reply all(1)
韋小寶

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

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