亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

embed is self closing and should not have content.怎么解決

Error: C:\Program Files\nodejs\zqqq\views\pages\detail.jade:8
? ?6| ? ? ? each item in movies?
? ?7| ? ? ? ? .col-md-7?
?> 8| ? ? ? ? ? embed(src="#{movie.flash}", allowFullScreen="true", quality="high", width="720", height="600", aligh="middle",type="application/x-shockwave-flash")?
? ?9| ? ? ? ? ? ? .col-ma-5?
? ?10| ? ? ? ? ? ? ? dl.dl-horizontal?
? ?11| ? ? ? ? ? ? ? ? dt 電影名字?

embed is self closing and should not have content.
? ?at Object.Compiler.visitTag (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:471:32)
? ?at Object.Compiler.visitNode (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:225:37)
? ?at Object.Compiler.visit (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:212:10)
? ?at Object.Compiler.visitBlock (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:295:12)
? ?at Object.Compiler.visitNode (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:225:37)
? ?at Object.Compiler.visit (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:212:10)
? ?at Object.Compiler.visitTag (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:480:12)
? ?at Object.Compiler.visitNode (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:225:37)
? ?at Object.Compiler.visit (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:212:10)
? ?at Object.Compiler.visitBlock (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:295:12)

正在回答

3 回答

iframe(src="#{movie.flash}", frameborder="0", allowFullScreen, width="510", height="498")

0 回復 有任何疑惑可以回復我~

embed(src="#{movie.flash}", allowFullScreen="true", quality="high", width="510", height="498", align="middle")

0 回復 有任何疑惑可以回復我~

很明顯,你下面的縮進不對,這樣寫表示embed標簽里面有內容了

0 回復 有任何疑惑可以回復我~
#1

慕慕6021340 提問者

那應該怎么改
2016-11-05 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
node+mongodb 建站攻略(一期)
  • 參與學習       91827    人
  • 解答問題       921    個

帶你完整實現一個從前端到后端的項目,初中級前端開發工程師必學課程

進入課程

embed is self closing and should not have content.怎么解決

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號