Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d576e9c0
authored
Feb 09, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
41239978
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
linkwe-ui/src/components/ChartBar.vue
linkwe-ui/src/components/ChartLine.vue
linkwe-ui/src/components/ChartBar.vue
View file @
d576e9c
...
...
@@ -178,12 +178,13 @@ export default {
</
script
>
<
template
>
<div
v-if=
"series && series.length"
ref=
"chart"
class=
"chart-bar chart"
></div>
<div
v-else
>
暂无数据
</div>
<div
v-if=
"series && series.length"
ref=
"chart"
class=
"chart-bar chart"
key=
"1"
></div>
<div
v-else
class=
"chart-bar chart"
key=
"2"
><div
class=
"cc"
>
暂无数据
</div>
</div>
</
template
>
<
style
lang=
"scss"
scoped
>
.chart
{
position
:
relative
;
height
:
100%
;
min-width
:
400px
;
min-height
:
400px
;
...
...
linkwe-ui/src/components/ChartLine.vue
View file @
d576e9c
...
...
@@ -220,14 +220,15 @@ export default {
</
script
>
<
template
>
<div
v-if=
"series && series.length"
ref=
"chart"
class=
"chart-line chart"
></div>
<div
v-else
>
暂无数据
</div>
<div
v-if=
"series && series.length"
ref=
"chart"
class=
"chart-line chart"
key=
"1"
></div>
<div
v-else
class=
"chart-line chart"
key=
"2"
><div
class=
"cc"
>
暂无数据
</div>
</div>
</
template
>
<
style
lang=
"scss"
scoped
>
.chart
{
position
:
relative
;
height
:
100%
;
min-width
:
2
00px
;
min-height
:
2
00px
;
min-width
:
4
00px
;
min-height
:
4
00px
;
}
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment