[Vue warn]: Invalid value for option "methods": expected an Object, but got Func
曦和百里 2021-04-30 11:49:26 [Vue warn]: Invalid value for option "methods": expected an Object, but got Function.
进行路由跳转的时候出现了报错
this.$router.push({
path: '/detail',
params: {}
})