左侧的菜单栏宽度调整

master
RuoYi 5 years ago committed by Limy
parent c9127150df
commit ddfdabacd7

@ -444,7 +444,7 @@ body.canvas-menu.mini-navbar #page-wrapper, body.canvas-menu.mini-navbar .footer
body.fixed-sidebar .navbar-static-side, body.canvas-menu .navbar-static-side { body.fixed-sidebar .navbar-static-side, body.canvas-menu .navbar-static-side {
position: fixed; position: fixed;
width: 220px; width: 200px;
z-index: 2001; z-index: 2001;
height: 100%; height: 100%;
} }
@ -3166,7 +3166,7 @@ video {
#page-wrapper { #page-wrapper {
padding: 0 15px; padding: 0 15px;
position: inherit; position: inherit;
margin: 0 0 0 220px; margin: 0 0 0 200px;
} }
.title-action { .title-action {

@ -668,6 +668,10 @@
openTab: function (title, url) { openTab: function (title, url) {
createMenuItem(url, title); createMenuItem(url, title);
}, },
// 关闭选项卡
closeTab: function () {
closeItem();
},
// 禁用按钮 // 禁用按钮
disable: function() { disable: function() {
var doc = window.top == window.parent ? window.document : window.parent.document; var doc = window.top == window.parent ? window.document : window.parent.document;
@ -972,7 +976,7 @@
} else if ($contentWindow.$.table._option.type == table_type.bootstrapTreeTable) { } else if ($contentWindow.$.table._option.type == table_type.bootstrapTreeTable) {
$contentWindow.$.treeTable.refresh(); $contentWindow.$.treeTable.refresh();
} }
closeItem(); $.modal.closeTab();
} else if (result.code == web_status.WARNING) { } else if (result.code == web_status.WARNING) {
$.modal.alertWarning(result.msg) $.modal.alertWarning(result.msg)
} else { } else {

Loading…
Cancel
Save