From c24a5a2a99515b365ebc343b04538bb862790de1 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 21 十二月 2023 11:44:22 +0800 Subject: [PATCH] Merge branch 'feature-code-refactoring' and 'feature-002' --- src/utils/risk_estimate_common_function/index.js | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/utils/risk_estimate_common_function/index.js b/src/utils/risk_estimate_common_function/index.js index a721e26..74e6ee3 100644 --- a/src/utils/risk_estimate_common_function/index.js +++ b/src/utils/risk_estimate_common_function/index.js @@ -146,8 +146,14 @@ obj['exceptionRecurrence'] = exceptionTyprRecurRate obj['exceptionTypeAggregation'] = exceptionTypeAggregation - // 淇濆瓨璇ユ椂娈靛嚭鐜扮殑寮傚父 - obj['exception'] = exception + + if(exception.length>0){ + // 淇濆瓨璇ユ椂娈靛嚭鐜扮殑寮傚父 + obj['exception'] = exception.length + }else{ + obj['exception'] = 0 + } + // 涓夌被寮傚父鍑虹幇鐨勬鏁� obj['mutationCount'] = mutationCount -- Gitblit v1.9.3