fix(接口测试): 修复Mock请求响应体xml格式的xml header无法储存空报文头的问题

修复Mock请求响应体xml格式的xml header无法储存空报文头的问题
This commit is contained in:
song-tianyang 2022-04-02 16:26:37 +08:00 committed by CountryBuilder
parent 2db9b09845
commit ed74ad21bb
1 changed files with 1 additions and 2 deletions

View File

@ -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 = '';
}
}
}