Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
495433a4
authored
Jun 01, 2021
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
a4b2d9cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
src/views/Index/index.vue
src/views/Index/index.vue
View file @
495433a4
...
...
@@ -252,18 +252,8 @@
}
};
},
watch
:
{},
created
()
{
},
mounted
()
{
var
self
=
this
;
this
.
getData
();
window
.
onresize
=
function
()
{
console
.
log
(
'test'
)
self
.
getData
();
};
},
methods
:
{
getData
()
{
...
...
@@ -344,6 +334,12 @@
myChart
.
setOption
(
option
);
myChart1
.
setOption
(
option
);
myChart2
.
setOption
(
option1
);
window
.
onresize
=
function
()
{
myChart
.
resize
();
myChart1
.
resize
();
myChart2
.
resize
();
};
}
},
components
:
{
...
...
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