[Vue warn]: Method “components“ has type “object“ in the component definition. Did you reference the
简介:
[Vue warn]: Method “components” has type “object” in the component definition. Did you reference the
[Vue warn]: Method “components” has type “object” in the component definition. Did you reference the
报错如下:
仔细检查代码发现:components写到methods方法里面去了,被methods方法包裹住了。只需要把components代码块拿出来即可。我已解决👏👏👏👏👏