TypeError: _vm.$t is not a function
来源:8-1 课程总结

夏目鲸鱼
2020-04-30
console.error node_modules/vue/dist/vue.runtime.common.dev.js:621
[Vue warn]: Error in render: “TypeError: _vm.$t is not a function”
found in
---> <Start>
<Root>
console.error node_modules/vue/dist/vue.runtime.common.dev.js:1884
TypeError: _vm.$t is not a function
代码:
export default class extends Vue {
sList: any = []
dList: any = []
s = 0
d = ‘’
@Watch(‘store’)
onStoreChange() {
const index = this.sList.findIndex(
(item: any) => item.id === this.store
)
写回答
1回答
-
夏目鲸鱼
提问者
2020-05-03
解决了
10
相似问题