From e7d1f360fb7f1630606c0bacf9706ffd865cdb6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A0=97=E5=98=89=E7=94=B7?= <574980606@qq.com> Date: Sun, 29 Sep 2024 10:48:07 +0800 Subject: [PATCH] chore: Code Optimization --- src/Body/BodyRow.tsx | 2 +- src/VirtualTable/BodyLine.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Body/BodyRow.tsx b/src/Body/BodyRow.tsx index 7419fc0b..d33cf38d 100644 --- a/src/Body/BodyRow.tsx +++ b/src/Body/BodyRow.tsx @@ -6,7 +6,7 @@ import devRenderTimes from '../hooks/useRenderTimes'; import useRowInfo from '../hooks/useRowInfo'; import type { ColumnType, CustomizeComponent, GetRowKey } from '../interface'; import ExpandedRow from './ExpandedRow'; -import { computedExpandedClassName } from '@/utils/expandUtil'; +import { computedExpandedClassName } from '../utils/expandUtil'; export interface BodyRowProps { record: RecordType; diff --git a/src/VirtualTable/BodyLine.tsx b/src/VirtualTable/BodyLine.tsx index 55416a43..a02d195a 100644 --- a/src/VirtualTable/BodyLine.tsx +++ b/src/VirtualTable/BodyLine.tsx @@ -7,7 +7,7 @@ import type { FlattenData } from '../hooks/useFlattenRecords'; import useRowInfo from '../hooks/useRowInfo'; import VirtualCell from './VirtualCell'; import { StaticContext } from './context'; -import { computedExpandedClassName } from '@/utils/expandUtil'; +import { computedExpandedClassName } from '../utils/expandUtil'; export interface BodyLineProps { data: FlattenData;