菜单管理新增打开方式

This commit is contained in:
RuoYi
2019-05-30 13:18:16 +08:00
parent 17dd48e51d
commit 94aafdcf7e
7 changed files with 149 additions and 96 deletions

View File

@ -242,8 +242,17 @@ $(function() {
}
return false;
}
function menuBlank() {
// 新窗口打开外网以http://开头如http://ruoyi.vip
var dataUrl = $(this).attr('href');
window.open(dataUrl);
return false;
}
$('.menuItem').on('click', menuItem);
$('.menuBlank').on('click', menuBlank);
// 关闭选项卡菜单
function closeTab() {