<%= for(var i=0;i<sendMessage.length;i++){ %>
<div <%= if(sendMessage.question.quesType==1){%>class="checkbox"<%=}else{%>class="radio"<%=}%>>
<div class="question">
<%= sendMessage.question.quesId+'.'+sendMessage.question.quesCont%>
<b><%= if(sendMessage.question.quesType==1){%>[多选题]<%=}else{%><%=}%></b><i>*</i>
</div>
</div>
<%= } %>
页面报错
Unexpected token for in D:exerciseviewsindex.ejs while compiling ejs If the above error is not helpful, you may want to try EJS-Lint: https://github.com/RyanZim/EJ...
SyntaxError: Unexpected token for in D:exerciseviewsindex.ejs while compiling ejs
If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJ...
慕田峪7331174
相关分类