fix(性能测试): 修复性能测试变更历史json对比的问题
--bug=1010539 --user=刘瑞斌 【性能测试】-变更历史中详情显示优化 https://www.tapd.cn/55049933/s/1108156
This commit is contained in:
parent
8438c5a063
commit
02098a2f65
|
@ -126,6 +126,12 @@ export default {
|
||||||
this.$refs.environmentHistoryDetail.open(value);
|
this.$refs.environmentHistoryDetail.open(value);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
try {
|
||||||
|
value.newValue = JSON.parse(value.newValue);
|
||||||
|
value.originalValue = JSON.parse(value.originalValue);
|
||||||
|
} catch (e) {
|
||||||
|
// console.info(e);
|
||||||
|
}
|
||||||
this.$refs.historyDetail.open(value);
|
this.$refs.historyDetail.open(value);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue