提交 8af85bca 编写于 作者: fxy060608's avatar fxy060608

build uni-app-plus-nvue

上级 8e8bc41d
...@@ -2602,6 +2602,7 @@ var serviceContext = (function () { ...@@ -2602,6 +2602,7 @@ var serviceContext = (function () {
type: Object, type: Object,
validator (value, params) { validator (value, params) {
params.header = value || {}; params.header = value || {};
params.header['content-type'] = params.header['content-type'] || 'application/json';
} }
}, },
dataType: { dataType: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册