fix: 移动健康检查脚本到 longbow.common 中
This commit is contained in:
parent
79c8aa1d7d
commit
cbdbd270c2
|
@ -1,9 +1,4 @@
|
||||||
(function ($) {
|
(function ($) {
|
||||||
$.extend({
|
|
||||||
sendHealths: function (data) {
|
|
||||||
$.bc({ url: 'api/Interface/Healths', data: JSON.stringify(data), method: 'post' });
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$.fn.extend({
|
$.fn.extend({
|
||||||
autoScrollSidebar: function (options) {
|
autoScrollSidebar: function (options) {
|
||||||
var option = $.extend({ target: null, offsetTop: 0 }, options);
|
var option = $.extend({ target: null, offsetTop: 0 }, options);
|
||||||
|
|
|
@ -107,6 +107,9 @@
|
||||||
});
|
});
|
||||||
return source;
|
return source;
|
||||||
},
|
},
|
||||||
|
sendHealths: function (data) {
|
||||||
|
$.bc({ url: 'api/Interface/Healths', data: JSON.stringify(data), method: 'post' });
|
||||||
|
},
|
||||||
copyText: function (ele) {
|
copyText: function (ele) {
|
||||||
if (typeof ele !== "string") return false;
|
if (typeof ele !== "string") return false;
|
||||||
var input = document.createElement('input');
|
var input = document.createElement('input');
|
||||||
|
|
Loading…
Reference in New Issue