[Vue warn]: Method "watch" has type "object" in the component definition. Did you reference the function correctly?

发生这个的原因是在组件中写了一个空的watch

把这个watch的代码删掉就ok

Logo

前往低代码交流专区

更多推荐