Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
md-vue-chc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何鹏程
md-vue-chc
Commits
87560f8e
Commit
87560f8e
authored
Aug 26, 2021
by
何鹏程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
5474a9aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
echartsPie.vue
src/page/carStatistics/components/echartsPie.vue
+1
-1
index.js
src/router/index.js
+1
-1
No files found.
src/page/carStatistics/components/echartsPie.vue
View file @
87560f8e
...
...
@@ -105,7 +105,7 @@ export default {
itemStyle
:
{
color
:
(
color
)
=>
{
const
item
=
this
.
colorList
.
find
(
i
=>
i
.
name
===
color
.
name
)
return
item
.
color
||
'#333333'
return
(
item
&&
item
.
color
)
||
'#333333'
}
},
data
:
this
.
dataList
...
...
src/router/index.js
View file @
87560f8e
...
...
@@ -74,7 +74,7 @@ router.beforeEach((to, from, next) => {
console
.
log
(
'该页面无需登录即可访问'
)
next
()
}
else
{
if
(
routers
.
length
>
7
&&
_token
&&
menu
&&
userInfo
)
{
if
(
routers
.
length
>
9
&&
_token
&&
menu
&&
userInfo
)
{
console
.
log
(
'有数据无需登录'
)
next
()
}
else
{
...
...
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