AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
sohelp-table 支持的全部事件如下,后面四个事件同 ele-pro-table、ant-design-vue 的 a-table 的事件: | 事件名称 | 说明 | 参数 | 返回 | | --- | --- | --- | --- | | updateEdit | 修改窗口事件(带参数) | record //当前选中数据,text /操作按钮名称/ | 无 | | addEdit | 新增窗口事件 | 无 | 无 | | onBlur | 输入框失去焦点事件 | columns record index | 无 | | onChange | 开关事件 | columns record index | 无 | 实例说明 ~~~ <template> <sohelp-table ref='sohelpTable', refid='admin_menu!menu' @change="onChange" @updateEdit="updateEdit" @addEdit="addEdit" /> </template> <script> export default { name:'sohelp', data(){ return{ UsershowEdit:false } } methods:{ onChange(){}, updateEdit(record,text){ console.log('编辑数据',record,'按钮名称',text) }, addEdit(){ this.UsershowEdit=true } } } </script> ~~~