chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -52,9 +52,9 @@ export const LogDetail: React.FC<LogDetailProps> = ({
onOpenWorkflowLink,
}) => {
const { isBatch, nodeId } = result;
/** 从 0 开始 */
/** Start from 0 */
const [paging, setPaging] = useState(0);
/** 只看错误 */
/** Just look at the error. */
const [onlyShowError, setOnlyShowError] = useState(false);
const { current, batchData } = useGetCurrentResult({
@@ -73,14 +73,14 @@ export const LogDetail: React.FC<LogDetailProps> = ({
const { modal, open } = useMarkdownModal();
// 当分页数据发生变化,重新选中第一项
// When the paging data changes, re-select the first item
useLayoutEffect(() => {
setPaging(0);
}, [batchData]);
return (
<div className={css['log-detail']}>
{/* 分页 */}
{/* paging */}
{isBatch ? (
<LogDetailPagination
paging={paging}