您的位置:首页技术文章
文章详情页

javascript - 求助!,如何给bootstrap-table定义refresh回调函数

【字号: 日期:2023-06-03 08:09:20浏览:73作者:猪猪

问题描述

需要在bootstrap-table异步刷新完之后执行一些代码,但没有找到bootstrap-table refresh的回调函数相关资料

问题解答

回答1:

// 监听 refresh 事件dom.on('refresh.bs.table', function() { // code here});// 主动触发 表单 refresh 事件dom.bootstrapTable('refresh', { url: baseUrl + 'foo.php', query: dataobj});

标签: JavaScript