防止操作跳到页面顶端

This commit is contained in:
RuoYi
2019-05-13 19:03:32 +08:00
parent 7662c1eeab
commit 0bad889607
19 changed files with 43 additions and 46 deletions

View File

@ -139,7 +139,7 @@
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="#" onclick="$.operate.detail(\'' + row.operId + '\')"><i class="fa fa-search"></i>详细</a>');
actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.operId + '\')"><i class="fa fa-search"></i>详细</a>');
return actions.join('');
}
}]