How to use vuex modules getters with composition api?

前端 未结 0 1538
误落风尘
误落风尘 2021-01-01 16:50

This is my vuex getter

const getters = {
 getMovieById: state => id => {
 debugger;
 return state.movies.find(movie => movie.id === id);
 }
};


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题