-
Notifications
You must be signed in to change notification settings - Fork 327
fix(chart): fix chart bug, resolve memory leakage issues #3610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
12ed2e5
fix: 【Charts】update charts snapshots
Davont 049e055
Merge branch 'dev' of github.com:opentiny/tiny-vue into dev
Davont e002b99
fix: 修复图表height为100%时的高度问题
Davont 94a15eb
fix: 优化图表extend逻辑
Davont c411a5e
Merge branch 'dev' of github.com:opentiny/tiny-vue into dev
Davont fe1d231
fix: 修复图表extend失效问题
Davont 8fdc5c5
fix: 删除注释
Davont 7e4e830
fix: 新增图表echartOption变量,以便用户获取echart配置
Davont 19052b2
fix: 修复playground百度地图案例错误问题
Davont 9c98733
fix: 修复图表option复杂变量失效问题
Davont 256dae7
fix: 修改高德百度地图案例注释
Davont c77eac6
Merge branch 'dev' into dev
Davont 85fc901
fix: chart-core添加cloneDeep引入
Davont 613c9e7
Merge branch 'dev' of github.com:opentiny/tiny-vue into dev
Davont 38227ec
fix: 修改chart组件getFormatted函数判断逻辑
Davont 16bf480
fix: 更新chart-core包版本为3.17.1
Davont 3a582f7
Merge branch 'dev' of github.com:opentiny/tiny-vue into dev
Davont 4bb16ed
fix: 修复箱型图data为空数组时的报错问题
Davont d640562
fix: 添加图标属性逻辑的深拷贝
Davont 9c2424d
fix: 删除注释文件
Davont fc4544f
fix: 修改图表打包
Davont 6ef939b
fix: 图表打包指令修改
Davont ea0b581
Merge branch 'opentiny:dev' into dev
Davont 804b0e6
Merge branch 'dev' of github.com:opentiny/tiny-vue into dev
Davont 77a9acb
fix: huiCharts打包替换为Chart
Davont 364f3d1
Merge branch 'dev' of github.com:opentiny/tiny-vue into dev
Davont de9b78f
Merge branch 'opentiny:dev' into dev
Davont 1e1cd6c
fix: 新增图表解绑,解决内存泄漏问题
Davont 68fbafd
Merge branch 'dev' of github.com:Davont/tiny-vue into dev
Davont File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Critical bug: Setting integrateChart to null before calling uninstall method
The current code sets
this.integrateChart = null
before attempting to callthis.integrateChart.uninstall()
. This will cause a TypeError when trying to access theuninstall
property onnull
, and the cleanup method will never execute, potentially causing the memory leakage issues mentioned in the PR objectives.Apply this diff to fix the cleanup order:
🤖 Prompt for AI Agents