fix: 移动健康检查脚本到 longbow.common 中

This commit is contained in:
Argo Window10 2019-11-26 17:35:51 +08:00
parent df57e0b249
commit a901aa4ee6
2 changed files with 3 additions and 5 deletions

View File

@ -1,9 +1,4 @@
(function ($) {
$.extend({
sendHealths: function (data) {
$.bc({ url: 'api/Interface/Healths', data: JSON.stringify(data), method: 'post' });
}
});
$.fn.extend({
autoScrollSidebar: function (options) {
var option = $.extend({ target: null, offsetTop: 0 }, options);

View File

@ -107,6 +107,9 @@
});
return source;
},
sendHealths: function (data) {
$.bc({ url: 'api/Interface/Healths', data: JSON.stringify(data), method: 'post' });
},
copyText: function (ele) {
if (typeof ele !== "string") return false;
var input = document.createElement('input');