Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
2ae28a1d
Commit
2ae28a1d
authored
Oct 26, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 组件销毁前销毁echats
parent
561b0959
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
index.vue
src/views/Root/Home/index.vue
+3
-0
No files found.
src/views/Root/Home/index.vue
View file @
2ae28a1d
...
@@ -131,6 +131,9 @@ export default Vue.extend({
...
@@ -131,6 +131,9 @@ export default Vue.extend({
this
.
initEchart
();
this
.
initEchart
();
this
.
queryRealtime
();
this
.
queryRealtime
();
},
},
beforeDestroy
(){
this
.
myChart
&&
echarts
.
dispose
(
this
.
myChart
)
},
methods
:
{
methods
:
{
handleChangeTimeRange
(
e
:
any
)
{
handleChangeTimeRange
(
e
:
any
)
{
this
.
timeRange
=
e
.
target
!
.
value
;
this
.
timeRange
=
e
.
target
!
.
value
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment