塔塔侠: columns: [{ dataIndex: 'year1', slots: { title: 'customTitle' }, }] 页面: <template slot="customTitle"> <a-input v-model="dataIndex" /> </template> 希望表头通过输入框自定义,并且会插入很多列,因此想要输入框通过dataindex定义的字段去绑定值,但是好像拿不到
vxe-table插件
ant-design-vue的table组件的自定义表头和表格内容