选项卡提示窗

develop
Jmysy 2020-06-20 22:36:27 +08:00
parent 801597b5c6
commit c57d201a01
2 changed files with 2 additions and 3 deletions

View File

@ -33,8 +33,7 @@ layui.define(['table', 'jquery', 'element', 'form', 'pearAuth', 'pearTab', 'pear
}
this.permissionRender = function(option) {
if (option.auth != false) {
if (option.auth != false) {
pearAuth.loadPermission(option.auth);
}
}

View File

@ -274,7 +274,7 @@ layui.define(['jquery', 'element'], function(exports) {
//查询当前选项卡数量
if ($(".layui-tab[lay-filter='" + this.option.elem + "'] .layui-tab-title li[lay-id]").length >= this.option.tabMax) {
layer.msg("最多打开" + this.option.tabMax + "个标签页");
layer.msg("最多打开" + this.option.tabMax + "个标签页",{icon:3,time:1000});
return false;
}