mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
added 页面加载动画载入....
This commit is contained in:
parent
5f43aeb093
commit
028b86d27a
@ -48,11 +48,16 @@
|
||||
*/
|
||||
$.refresh = function ( url, urlData ) {
|
||||
urlData = urlData ? urlData : '';
|
||||
var loadingBox = bootbox.dialog({
|
||||
message: '<div class="text-center"><i class="fa fa-spin fa-spinner"></i> Loading...</div>',
|
||||
closeButton: false
|
||||
});
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: url,
|
||||
data: urlData,
|
||||
success: function(data){
|
||||
loadingBox.modal('hide');
|
||||
if( data.code == 200 ){
|
||||
if( data.data.tempType == 'table' ){
|
||||
if( $.buildTable ){
|
||||
|
Loading…
x
Reference in New Issue
Block a user