refactor(接口测试): 修复mock期望响应为xml格式时xml头无法删除的问题

--bug=1011723 --user=宋天阳
【接口测试】github#11969,mock服务选择相应为xml格式时,version="1.0" encoding="UTF-8"无法删除
https://www.tapd.cn/55049933/s/1126842
This commit is contained in:
song-tianyang 2022-03-28 17:00:09 +08:00 committed by 刘瑞斌
parent 3bef8f31b4
commit 1adf57ed60
2 changed files with 5 additions and 1 deletions

View File

@ -115,6 +115,10 @@
}
.upload-item {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
width: 180px;
}
</style>

View File

@ -150,7 +150,7 @@ export default {
'body.xmlHeader'() {
if (!this.body.xmlHeader) {
this.body.xmlHeader = 'version="1.0" encoding="UTF-8"';
this.body.xmlHeader = '';
}
},
},