We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
columns: [ { title: this.$t('activity.list.name'), dataIndex: 'name' }, ···· ]
The text was updated successfully, but these errors were encountered:
同问,现在有什么解决办法吗
Sorry, something went wrong.
搜到一种办法:
<template v-for="(item, index) in columns" :slot="item.slotName"> <span :key="index">{{ $t(item.slotName) }}</span> </template>
{ slotName: 'table.column.id', dataIndex: 'id', width: '185px', scopedSlots: { customRender: 'serial', title: 'table.column.id' }, },
这样可以实现自动刷新
还有一种:
columns: [ { title: () => this.$t('table.serial'), scopedSlots: { customRender: 'serial' } } ]
No branches or pull requests
The text was updated successfully, but these errors were encountered: