vue.js报错如下:
- Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed.
但翻下代码没有多写</div>呀
细看一下,然后是绑定的那个div漏写了一个</div>,导致默认给你加了一个</div>才报错这个错误