Skip to content

Commit b02d974

Browse files
[fix]usechart common hooks循环依赖
1 parent 709f41c commit b02d974

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vue3/packages/common/hooks/useChart.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { ref, computed, watch, onMounted, onBeforeUnmount, onUpdated, nextTick }
22
import { isEqual, debounce, cloneDeep, merge } from 'lodash-es'
33
import { addListener, removeListener } from 'resize-detector'
44
import type { ChartProps } from '@supermapgis/mapboxgl/components/chart/types'
5-
import { useTheme, useTimer } from '@supermapgis/common/hooks/index.common'
5+
import { useTimer } from '@supermapgis/common/hooks/useTimer'
6+
import { useTheme } from '@supermapgis/common/hooks/useTheme'
67
import {
78
getMultiColorGroup,
89
chartThemeUtil,

0 commit comments

Comments
 (0)