VueFailed to resolve directive: ref (found in component ) The template is: <script type="text/template" id="child1"> <h3>This is the child1~!</h3> </script> <script type="text/template" id="child2"> ……继续阅读 » 6个月前 (08-20) 136浏览 0评论 0个赞