vue使用render函数创建具名插槽:
let table = h('table', { style: {} props: {} scopedSlots: { // 插槽名 slotDemoName: (scope) => { return h('button', { props: {}, on: { click: () => { deleteRowData(scope.$index); } } }, '删除'); } } });
"正是因为得不到,所以才显得格外珍惜。"
vue使用render函数创建具名插槽:
let table = h('table', { style: {} props: {} scopedSlots: { // 插槽名 slotDemoName: (scope) => { return h('button', { props: {}, on: { click: () => { deleteRowData(scope.$index); } } }, '删除'); } } });
"正是因为得不到,所以才显得格外珍惜。"
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。