From dd5fbe2e6cacffa0ff67f0f68c262d14ddfce3cc Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 24 十一月 2023 15:21:56 +0800 Subject: [PATCH] 1.修复指标排名界面的排序换页后重置的问题 --- 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