取消回车自动提交表单

This commit is contained in:
RuoYi
2020-04-28 22:26:08 +08:00
parent cb32d5cc90
commit 27f40d0357
3 changed files with 9 additions and 3 deletions

View File

@ -8,6 +8,7 @@ layer.config({
});
var isMobile = $.common.isMobile() || $(window).width() < 769;
var sidebarHeight = isMobile ? '100%' : '96%';
$(function() {
// MetsiMenu
@ -15,7 +16,7 @@ $(function() {
// 固定菜单栏
$('.sidebar-collapse').slimScroll({
height: '96%',
height: sidebarHeight,
railOpacity: 0.9,
alwaysVisible: false
});