computed: {
dataColumns () {
return this.columns.map(column => {
column.title = this.$t('table.' + column.key)
return column
})
}
},
报错是说this.$t is not a function
computed: {
dataColumns () {
return this.columns.map(column => {
column.title = this.$t('table.' + column.key)
return column
})
}
},
报错是说this.$t is not a function
你搜一下this.$t。$t是什么鬼(打印一下this看看)