+
+ 共{testCase.length}个测试用例
+ 关闭
+
+
+
+ {test_sets_count - sets_error_count}/{test_sets_count}
+ {resultTxt}
+
+
+ {
+ testCase.map((item, i) => {
+ const {input, output, actual_output, is_public, result} = item;
+ const _classes = isActive === i ? 'case-item-desc active' : 'case-item-desc';
+ const iconclasses = isActive === i ? 'iconfont icon-sanjiaoxing-down icon active' : 'iconfont icon-triangle icon';
+ const headerClasses = is_public ? 'item-header-desc active' : 'item-header-desc';
+ // console.log(_classes);
+ return (
+ -
+
handleCloseItem(i, is_public)}>
+
+
+ 测试集{i + 1}
+
+ {
+ is_public
+ ? (result
+ ?
+ : )
+ : (
+ 隐藏测试集,暂不支持解锁和查看
+ {/* {result
+ ?
+ :
+ } */}
+ )
+ }
+
+
+
+ 测试输入
+ {input || '-'}
+ 预期输出
+ {/* */}
+
+ {/* */}
+ 实际输出
+
+
+
+ )
+ })
+ }
+
+