[Vue warn]: Error in created hook: “TypeError: store.hasModule is not a function”

前端 未结 0 868
长情又很酷
长情又很酷 2020-12-31 03:43

I have vue component which creates own store in created() hook like this:

    created: function(){
        const store = this.$store;
        
           


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