File tree 4 files changed +18
-13
lines changed
fast-framework/src/main/resources/static
4 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 4
4
* @author ZhouHuan 二次封装 新增若干方法优化部分BUG
5
5
* @date 2020-02-20
6
6
* 2020-05-17 修复导出报表问题
7
- * @version v1.0.10
7
+ * 2020-06-24 修复表格控件 页面多表格 回调函数错乱问题
8
+ * @version v1.0.11
8
9
*/
9
10
if ( typeof jQuery === "undefined" ) {
10
11
throw new Error ( "fastJS JavaScript requires jQuery" )
@@ -18,7 +19,7 @@ if (typeof jQuery === "undefined") {
18
19
_tabIndex :- 999 ,
19
20
tindex :0 ,
20
21
pushMenu :null ,
21
- version :'1.0.1 ' ,
22
+ version :'1.0.11 ' ,
22
23
debug :true ,
23
24
//表格类型
24
25
table_type : {
@@ -2457,6 +2458,7 @@ if (typeof jQuery === "undefined") {
2457
2458
opt . table . config [ options . id ] = options ;
2458
2459
$ . table . initEvent ( ) ;
2459
2460
$ ( '#' + options . id ) . bootstrapTable ( {
2461
+ id : options . id , // 对象ID
2460
2462
url : options . url , // 请求后台的URL(*)
2461
2463
contentType : "application/x-www-form-urlencoded" , // 发送到服务器的数据编码类型
2462
2464
method : 'post' , // 请求方式(*)
@@ -2568,8 +2570,8 @@ if (typeof jQuery === "undefined") {
2568
2570
} ,
2569
2571
// 请求获取数据后处理回调函数
2570
2572
responseHandler : function ( res ) {
2571
- if ( typeof opt . table . options . responseHandler == "function" ) {
2572
- opt . table . options . responseHandler ( res ) ;
2573
+ if ( typeof opt . table . get ( this . id ) . responseHandler == "function" ) {
2574
+ opt . table . get ( this . id ) . responseHandler ( res ) ;
2573
2575
}
2574
2576
if ( res . code == 0 ) {
2575
2577
if ( opt . common . isNotEmpty ( opt . table . options . sidePagination ) && opt . table . options . sidePagination == 'client' ) {
You can’t perform that action at this time.
0 commit comments