新手问题 求解 vue js 问题?

jeremygaoming · July 04, 2017 · Last by jesktop replied at July 04, 2017 · 1166 hits

在项目中用 vue js ,但 new Vue( el: '#videos-tbody')的时候,只要 el 的部分,在 view 里面相应的 html 都会变成<!----> 这样的注释,这为什么。昨天用的时候还好好的。

video = new Vue(
      el: '#videos-tbody'
      data: videos: []
      )
tbody#videos-tbody

贴的代码太少,看着像是把除了 tr,tbody 之类的元素插入到 table 里的原因。

jeremygaoming closed this topic. 04 Jul 15:12
You need to Sign in before reply, if you don't have an account, please Sign up first.