右键菜单选择器更换

pull/94/MERGE
RuoYi 6 years ago
parent 50515e1aff
commit 54e05bae60

@ -460,7 +460,7 @@ $(function() {
// 右键菜单实现 // 右键菜单实现
$.contextMenu({ $.contextMenu({
selector: ".page-tabs-content", selector: ".menuTab",
trigger: 'right', trigger: 'right',
autoHide: true, autoHide: true,
items: { items: {
@ -468,7 +468,7 @@ $(function() {
name: "关闭当前", name: "关闭当前",
icon: "fa-close", icon: "fa-close",
callback: function(key, opt) { callback: function(key, opt) {
tabCloseCurrent(); opt.$trigger.find('i').trigger("click");
} }
}, },
"close_other": { "close_other": {

Loading…
Cancel
Save