From e76d4252c3226207655f4f6c17be6e413baebac5 Mon Sep 17 00:00:00 2001 From: luosongbai <15272473386@163.com> Date: Fri, 18 Jun 2021 20:43:27 +0800 Subject: [PATCH] 11 --- web/src/x.min.js | 1 + web/srczip/common.js | 1 + 2 files changed, 2 insertions(+) diff --git a/web/src/x.min.js b/web/src/x.min.js index ce6cd15..36601e9 100644 --- a/web/src/x.min.js +++ b/web/src/x.min.js @@ -170,6 +170,7 @@ var X = window.X || { type:type, data:data, async:false, + contentType: 'application/json', beforeSend: function () { // loading 显示 index = layer.load(1); diff --git a/web/srczip/common.js b/web/srczip/common.js index 56ca099..da493ec 100644 --- a/web/srczip/common.js +++ b/web/srczip/common.js @@ -169,6 +169,7 @@ var X = window.X || { type:type, data:data, async:false, + contentType: 'application/json', beforeSend: function () { // loading 显示 index = layer.load(1);