第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

關于ejs的unexpected token

關于ejs的unexpected token

胡子哥哥 2018-12-20 18:19:12
<%= 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 ejsIf the above error is not helpful, you may want to try EJS-Lint:https://github.com/RyanZim/EJ...
查看完整描述

1 回答

?
慕田峪7331174

TA貢獻1828條經驗 獲得超13個贊

模板后綴是HTML? 如果是html的話 應該是你的HTML標簽里面注釋掉的東西報錯。找一下,然后刪掉 應該就可以了。 
我的報錯是 SyntaxError: Unexpected token ) in
然后 我在一個注釋掉的標簽里面 找到這個 ) ,刪除掉就可以了。

查看完整回答
反對 回復 2019-01-07
  • 1 回答
  • 0 關注
  • 1254 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號