Vue
【vue】问题之 [Vue warn]: Method “components“ has type “object“ in the component definition
【vue】问题之 [Vue warn]: Method “components“ has type “object“ in the component definition
控制台错误信息: [Vue warn]: Method “components” has type “object” in the component definition. Did you reference the function correctly?将components组件写在methods后导致,更换两者位置即可解决。
所有评论(0)