doc: 同步通用文件

This commit is contained in:
Argo 2019-07-31 23:13:42 +08:00
parent 08a457841f
commit c95a039703
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
4 changed files with 22 additions and 4 deletions

View File

@ -784,3 +784,7 @@ input.pending {
label[for] {
cursor: pointer;
}
.form-inline .form-group .toggle {
display: block;
}

View File

@ -219,6 +219,9 @@
if ($.isFunction(swal)) {
swal($.extend({ showConfirmButton: false, showCancelButton: false, timer: 1000, title: '未设置', type: "success" }, options));
}
else {
window.log('缺少 swal 脚本引用');
}
},
getUID: function (prefix) {
if (!prefix) prefix = 'lgb';
@ -549,6 +552,8 @@
$('[data-toggle="tooltip"]').tooltip();
$('[data-toggle="popover"]').popover();
$('[data-toggle="lgbinfo"]').lgbInfo();
$('.date').lgbDatePicker();
$('.date').lgbDatePicker().on('show hide', function (e) {
e.stopPropagation();
});
});
})(jQuery);

View File

@ -784,3 +784,7 @@ input.pending {
label[for] {
cursor: pointer;
}
.form-inline .form-group .toggle {
display: block;
}

View File

@ -219,6 +219,9 @@
if ($.isFunction(swal)) {
swal($.extend({ showConfirmButton: false, showCancelButton: false, timer: 1000, title: '未设置', type: "success" }, options));
}
else {
window.log('缺少 swal 脚本引用');
}
},
getUID: function (prefix) {
if (!prefix) prefix = 'lgb';
@ -549,6 +552,8 @@
$('[data-toggle="tooltip"]').tooltip();
$('[data-toggle="popover"]').popover();
$('[data-toggle="lgbinfo"]').lgbInfo();
$('.date').lgbDatePicker();
$('.date').lgbDatePicker().on('show hide', function (e) {
e.stopPropagation();
});
});
})(jQuery);