选项卡提示窗
parent
801597b5c6
commit
c57d201a01
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue