我对在 Vue.js 3 + Vite + VueGoodTable 中添加新字段进行了完整搜索,但它不起作用!它看起来是空的。
我使用了来自指南的代码: https ://xaksis.github.io/vue-good-table/guide/advanced/#adding-custom-columns和来自这个https://jsfiddle.net/marekfilip/jm4ywzor/
使用来自 jsfiddles 的片段,它只显示:[![在此处输入图像描述][1]][1] [1]:https://i.stack.imgur.com/S8xv4.png
对于 jsfiddle,我只更改了新的 Vue:
<script>
import { VueGoodTable } from 'vue-good-table-next';
export default({
components: {
VueGoodTable
},
有任何想法吗?