为了账号安全,请及时绑定邮箱和手机立即绑定

input is self closing and should not have content.为什么?

Error: D:\Program Files\nodejs\imooc\app\views\pages\admin.jade:14
   12| each cat in categories
   13| label.radio-inline
 > 14| input(type="radio", name="movie[category]", value=cat._id) #{cat.name}
   15| .form-group
   16| label.col-sm-2.control-label(for="inputTitle") 电影名字
   17| .col-sm-10

input is self closing and should not have content.

正在回答

3 回答

http://img1.sycdn.imooc.com//57c2994b0001cd7f06140258.jpg

不能写在后面的

解决方案有两种,如图;



1 回复 有任何疑惑可以回复我~

看看缩进对不对

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

执行语句

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

举报

0/150
提交
取消
node建站攻略(二期)——网站升级
  • 参与学习       51919    人
  • 解答问题       423    个

帮助你深入前后端开发留下的迷惑,为进一步自学打下基础

进入课程

input is self closing and should not have content.为什么?

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号