fix(性能测试): 修复性能测试变更历史json对比的问题

--bug=1010539 --user=刘瑞斌 【性能测试】-变更历史中详情显示优化 https://www.tapd.cn/55049933/s/1108156
This commit is contained in:
CaptainB 2022-02-23 10:44:45 +08:00 committed by 刘瑞斌
parent 8438c5a063
commit 02098a2f65
1 changed files with 6 additions and 0 deletions

View File

@ -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);
} }
}, },