解决方法
Vahtra_Superman
这个作者很懒,什么都没留下…
展开
-
关于报错Unknown custom element:did you register the component correctly? For recursive components的解决方式
报错:[Vue warn]: Unknown custom element: <d01-person-thing> - did you register the component correctly? For recursive components, make sure to provide the "name" option.解决:组件循环引用(两个组件同时引用另一个组件时)发生这个错误,在components中通过以下方式引用可以解决components:原创 2021-09-17 11:12:35 · 4482 阅读 · 0 评论 -
一只菜鸟的java错误解决方法之"Resource leak: 'input' is never closed"
初学java,在程序运行中总是会出现“Resource leak: 'input' is never closed”的警告(是输出流的问题),虽然不会影响程序的运行,但是黄色的感叹号总给人一种不舒服的赶脚:( 如下一段小代码:public static void main(String[] args) { Scanner input = new ...原创 2020-02-10 10:47:56 · 2097 阅读 · 0 评论