Problema no filter

Carlos, bom dia.
Estou com uma mensagem e não estou sabendo resolver! É um warning mas não filtra. Pode me ajduar?
Print: https://ibb.co/Kqmy7pG
Vue warn]: Method "computed" has type "object" in the component definition. Did you reference the function correctly?
found in
---> at src/components/Mercadorias/ListMercadorias.vue
at src/App.vue

Olá, Marcos!
Tudo bem?
Como está usando o ES6 não precisa fazer isso:
let vm = this
Aqui pode ficar assim:
return this.mercadorias.filter(mercadoria => mercadoria.cod.indexOf(this.filter) > -1)
Tem esse código completo no GitHub? Porque preciso ter uma visão geral do component para te ajudar a identificar onde você errou.

Boa tarde, segue.
https://github.com/marcosbirrocalixto/mercado

Sem acesso ao GitHub, erro 404: http://prntscr.com/12w921r

Precisa estar logado para conseguir responder a este ticket!
Clique Aqui Para Entrar!