fix(接口测试): 修复Mock请求响应体xml格式的xml header无法储存空报文头的问题
修复Mock请求响应体xml格式的xml header无法储存空报文头的问题
This commit is contained in:
parent
043ca67d86
commit
ba8a4768e8
|
@ -349,9 +349,8 @@ export default {
|
|||
if (!this.body.scriptObject) {
|
||||
this.body.scriptObject = {};
|
||||
}
|
||||
|
||||
if (!this.body.xmlHeader) {
|
||||
this.body.xmlHeader = 'version="1.0" encoding="UTF-8"';
|
||||
this.body.xmlHeader = '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue