TypeError: _vm.$t is not a function

来源:8-1 课程总结

夏目鲸鱼

2020-04-30

TypeError: _vm.$t is not a function

  67 |   @Watch('store')
  68 |   onStoreChange() {
> 69 |     const index = this.storeList.findIndex(
     |                                                                                              ^
  70 |       (item: any) => item.id === this.store
  71 |     )
  72 |     this.store = this.storeList[index].id
写回答

1回答

Dell

2020-05-03

store 注释掉有这个问题吗

0
1
夏目鲸鱼
已经解决了,谢谢
2020-05-03
共1条回复

前端要学的测试课 从Jest入门到 TDD/BDD双实战

自动化测试实战 Vue / React 项目,让技术水平和架构思维双提升

1434 学习 · 350 问题

查看课程