Uncaught SyntaxError: missing ) after argument list

<div id="order${app.code}"  onclick="changeOrder('${app.code}')" >
</div>
 
 
看到错误提示一直以为 function哪里少了个) , 后面才发现 changeOrder() 中参数少了‘’ 引起。

猜你喜欢

转载自blog.csdn.net/choushi300/article/details/78201959