fix(接口定义): 修复TEST页面标签显示错误的缺陷
--bug=1017900 --user=王孝刚 【接口测试】接口定义 - TEST页面,标签显示错误 https://www.tapd.cn/55049933/s/1259823
This commit is contained in:
parent
3d5bccd48a
commit
adff8203bd
|
@ -833,9 +833,6 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
request = row ? row.request : {};
|
request = row ? row.request : {};
|
||||||
}
|
}
|
||||||
if (row.tags instanceof Array) {
|
|
||||||
row.tags = JSON.stringify(row.tags);
|
|
||||||
}
|
|
||||||
let response = "";
|
let response = "";
|
||||||
if (row.response != null && row.response != 'null' && row.response != undefined) {
|
if (row.response != null && row.response != 'null' && row.response != undefined) {
|
||||||
if (Object.prototype.toString.call(row.response).match(/\[object (\w+)\]/)[1].toLowerCase() === 'object') {
|
if (Object.prototype.toString.call(row.response).match(/\[object (\w+)\]/)[1].toLowerCase() === 'object') {
|
||||||
|
|
Loading…
Reference in New Issue