摘要:
在你的表格组件里面写一个方法function B,然后通过defineExpose来暴露给父组件页面A,例如: 表格组件 // 表格组件 // 检验并回调表格数据 const callBackData = () => { return [666]; } // 暴露回调方法 defineExpose( 阅读全文
在你的表格组件里面写一个方法function B,然后通过defineExpose来暴露给父组件页面A,例如: 表格组件 // 表格组件 // 检验并回调表格数据 const callBackData = () => { return [666]; } // 暴露回调方法 defineExpose( 阅读全文
posted @ 2024-12-06 17:26
叶乘风
阅读(38)
评论(0)
推荐(0)

浙公网安备 33010602011771号