Let me explain to you how to use elexpression# in the <script></script> tag
##The core of the problem lies in ${}ObjectType
If it is a java object, of course it cannot be obtainedIf it is specific to the value ofstring, then it can be used as long as you add quotation marks
So, the background can put java object before putting it intomodel The object is converted into a json string. In this way, you can directly define an object in js and assign it a value of ${}
The above is what I compiled for you in tag. For more information, please follow other related articles on the PHP Chinese website!