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:
parent
3bef8f31b4
commit
1adf57ed60
|
@ -115,6 +115,10 @@
|
|||
}
|
||||
|
||||
.upload-item {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
|
@ -150,7 +150,7 @@ export default {
|
|||
|
||||
'body.xmlHeader'() {
|
||||
if (!this.body.xmlHeader) {
|
||||
this.body.xmlHeader = 'version="1.0" encoding="UTF-8"';
|
||||
this.body.xmlHeader = '';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue