From 8af85bca592f4d4decc302de0851a5e727a29c2f Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Thu, 22 Aug 2019 12:54:05 +0800 Subject: [PATCH] build uni-app-plus-nvue --- packages/uni-app-plus-nvue/dist/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/uni-app-plus-nvue/dist/index.js b/packages/uni-app-plus-nvue/dist/index.js index aa87d7b62a..9db807746f 100644 --- a/packages/uni-app-plus-nvue/dist/index.js +++ b/packages/uni-app-plus-nvue/dist/index.js @@ -2602,6 +2602,7 @@ var serviceContext = (function () { type: Object, validator (value, params) { params.header = value || {}; + params.header['content-type'] = params.header['content-type'] || 'application/json'; } }, dataType: { -- GitLab