阅读:1352
回复:2
|
发起流程不展开菜单 |
最新喜欢:金先森 |
1楼#
发布于:2017-07-19 00:18
帖内置顶 – – 2017-07-19 11:20
在bootstrap-table.js这个文件里加入下面代码
图片:dai.png if (this.$body.find('> tr').length > 1) { this.$body.find('> tr').each(function () { var childrenkey = $(this).attr("data-childrenkey"); var parentkey = $(this).attr("data-parentkey"); if (childrenkey && parentkey == "") { $(this).find("td:eq(0)").click(); var labtd = $(this).text().trim(); if (labtd == "常用流程") { $(this).find("td:eq(0)").click(); } } }); } |
|
2楼#
发布于:2017-07-19 00:18
在bootstrap-table.js这个文件里加入下面代码
图片:dai.png if (this.$body.find('> tr').length > 1) { this.$body.find('> tr').each(function () { var childrenkey = $(this).attr("data-childrenkey"); var parentkey = $(this).attr("data-parentkey"); if (childrenkey && parentkey == "") { $(this).find("td:eq(0)").click(); var labtd = $(this).text().trim(); if (labtd == "常用流程") { $(this).find("td:eq(0)").click(); } } }); } |
|
3楼#
发布于:2017-07-19 00:19
代码位置如截图
|
|