Skip to content

Commit

Permalink
feat: echarts
Browse files Browse the repository at this point in the history
  • Loading branch information
wkylin committed Sep 20, 2024
1 parent 7465d27 commit 59ca277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"array-callback-return":"off",
"no-shadow":"off",
"no-inner-declarations":"off",
"no-unused-expressions":"off"
"no-unused-expressions":"off",
"no-unused-vars":"off"
}
}
2 changes: 0 additions & 2 deletions src/components/stateless/EChartsCommon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const EChartsCommon = (props: {
notMerge?: boolean
lazyUpdate?: boolean
option: OptionType
// eslint-disable-next-line no-unused-vars
instanceHandle?: (instance: EChartsType) => void
}) => {
const drawDomRef = useRef<HTMLDivElement>(null)
Expand All @@ -37,7 +36,6 @@ const EChartsCommon = (props: {
}

const resize = debounce(() => {
// eslint-disable-next-line no-unused-expressions
chartRef.current && chartRef.current.resize()
}, 100)

Expand Down

0 comments on commit 59ca277

Please sign in to comment.