Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gyf5267218
vue-element-admin
提交
b112c6c8
V
vue-element-admin
项目概览
gyf5267218
/
vue-element-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
4
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-element-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b112c6c8
编写于
4月 27, 2017
作者:
yangbit
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: fix case sensitivity on Linux
上级
168150ff
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
133 addition
and
143 deletion
+133
-143
src/components/Charts/lineMarker.vue
src/components/Charts/lineMarker.vue
+0
-0
src/router/index.js
src/router/index.js
+133
-143
未找到文件。
src/components/Charts/line
m
arker.vue
→
src/components/Charts/line
M
arker.vue
浏览文件 @
b112c6c8
文件已移动
src/router/index.js
浏览文件 @
b112c6c8
...
...
@@ -26,11 +26,11 @@ const Tinymce = resolve => require(['../views/components/tinymce'], resolve);
const
Markdown
=
resolve
=>
require
([
'
../views/components/markdown
'
],
resolve
);
const
JsonEditor
=
resolve
=>
require
([
'
../views/components/jsoneditor
'
],
resolve
);
const
DndList
=
resolve
=>
require
([
'
../views/components/dndlist
'
],
resolve
);
const
AvatarUpload
=
resolve
=>
require
([
'
../views/components/avatar
u
pload
'
],
resolve
);
const
AvatarUpload
=
resolve
=>
require
([
'
../views/components/avatar
U
pload
'
],
resolve
);
const
Dropzone
=
resolve
=>
require
([
'
../views/components/dropzone
'
],
resolve
);
const
Sticky
=
resolve
=>
require
([
'
../views/components/sticky
'
],
resolve
);
const
SplitPane
=
resolve
=>
require
([
'
../views/components/splitpane
'
],
resolve
);
const
CountTo
=
resolve
=>
require
([
'
../views/components/count
t
o
'
],
resolve
);
const
CountTo
=
resolve
=>
require
([
'
../views/components/count
T
o
'
],
resolve
);
const
Mixin
=
resolve
=>
require
([
'
../views/components/mixin
'
],
resolve
);
...
...
@@ -71,150 +71,140 @@ const Permission = resolve => require(['../views/permission/index'], resolve);
Vue
.
use
(
Router
);
export
default
new
Router
({
// mode: 'history', //后端支持可开
scrollBehavior
:
()
=>
({
y
:
0
}),
routes
:
[
// mode: 'history', //后端支持可开
scrollBehavior
:
()
=>
({
y
:
0
}),
routes
:
[
{
path
:
'
/login
'
,
component
:
Login
,
hidden
:
true
},
{
path
:
'
/authredirect
'
,
component
:
authRedirect
,
hidden
:
true
},
{
path
:
'
/sendpwd
'
,
component
:
sendPWD
,
hidden
:
true
},
{
path
:
'
/reset
'
,
component
:
reset
,
hidden
:
true
},
{
path
:
'
/404
'
,
component
:
Err404
,
hidden
:
true
},
{
path
:
'
/401
'
,
component
:
Err401
,
hidden
:
true
},
{
path
:
'
/
'
,
component
:
Layout
,
redirect
:
'
/dashboard
'
,
name
:
'
首页
'
,
hidden
:
true
,
children
:
[{
path
:
'
dashboard
'
,
component
:
dashboard
}]
},
{
path
:
'
/introduction
'
,
component
:
Layout
,
redirect
:
'
/introduction/index
'
,
name
:
'
简述
'
,
icon
:
'
xinrenzhinan
'
,
noDropdown
:
true
,
children
:
[
{
path
:
'
index
'
,
component
:
Introduction
,
name
:
'
简述
'
}
]
},
{
path
:
'
/permission
'
,
component
:
Layout
,
redirect
:
'
/permission/index
'
,
name
:
'
权限测试
'
,
icon
:
'
quanxian
'
,
meta
:
{
role
:
[
'
admin
'
]
},
noDropdown
:
true
,
children
:
[
{
path
:
'
index
'
,
component
:
Permission
,
name
:
'
权限测试页
'
,
meta
:
{
role
:
[
'
admin
'
]
}
}
]
},
{
path
:
'
/components
'
,
component
:
Layout
,
redirect
:
'
/components/index
'
,
name
:
'
组件
'
,
icon
:
'
zujian
'
,
children
:
[
{
path
:
'
index
'
,
component
:
componentsIndex
,
name
:
'
介绍
'
},
{
path
:
'
tinymce
'
,
component
:
Tinymce
,
name
:
'
富文本编辑器
'
},
{
path
:
'
markdown
'
,
component
:
Markdown
,
name
:
'
Markdown
'
},
{
path
:
'
jsoneditor
'
,
component
:
JsonEditor
,
name
:
'
JSON编辑器
'
},
{
path
:
'
dndlist
'
,
component
:
DndList
,
name
:
'
列表拖拽
'
},
{
path
:
'
splitpane
'
,
component
:
SplitPane
,
name
:
'
SplitPane
'
},
{
path
:
'
avatarupload
'
,
component
:
AvatarUpload
,
name
:
'
头像上传
'
},
{
path
:
'
dropzone
'
,
component
:
Dropzone
,
name
:
'
Dropzone
'
},
{
path
:
'
sticky
'
,
component
:
Sticky
,
name
:
'
Sticky
'
},
{
path
:
'
countto
'
,
component
:
CountTo
,
name
:
'
CountTo
'
},
{
path
:
'
mixin
'
,
component
:
Mixin
,
name
:
'
小组件
'
}
]
},
{
path
:
'
/charts
'
,
component
:
Layout
,
redirect
:
'
/charts/index
'
,
name
:
'
图表
'
,
icon
:
'
tubiaoleixingzhengchang
'
,
children
:
[
{
path
:
'
index
'
,
component
:
chartIndex
,
name
:
'
介绍
'
},
{
path
:
'
keyboard
'
,
component
:
KeyboardChart
,
name
:
'
键盘图表
'
},
{
path
:
'
keyboard2
'
,
component
:
KeyboardChart2
,
name
:
'
键盘图表2
'
},
{
path
:
'
line
'
,
component
:
LineMarker
,
name
:
'
折线图
'
},
{
path
:
'
mixchart
'
,
component
:
MixChart
,
name
:
'
混合图表
'
}
]
},
{
path
:
'
/errorpage
'
,
component
:
Layout
,
redirect
:
'
noredirect
'
,
name
:
'
错误页面
'
,
icon
:
'
404
'
,
children
:
[
{
path
:
'
401
'
,
component
:
Err401
,
name
:
'
401
'
},
{
path
:
'
404
'
,
component
:
Err404
,
name
:
'
404
'
}
]
},
{
path
:
'
/errlog
'
,
component
:
Layout
,
redirect
:
'
noredirect
'
,
name
:
'
errlog
'
,
icon
:
'
bug
'
,
noDropdown
:
true
,
children
:
[
{
path
:
'
log
'
,
component
:
ErrorLog
,
name
:
'
错误日志
'
}
]
},
{
path
:
'
/excel
'
,
component
:
Layout
,
redirect
:
'
noredirect
'
,
name
:
'
excel
'
,
icon
:
'
EXCEL
'
,
noDropdown
:
true
,
children
:
[
{
path
:
'
download
'
,
component
:
ExcelDownload
,
name
:
'
导出excel
'
}
]
},
{
path
:
'
/theme
'
,
component
:
Layout
,
redirect
:
'
noredirect
'
,
name
:
'
theme
'
,
icon
:
'
theme
'
,
noDropdown
:
true
,
children
:
[
{
path
:
'
index
'
,
component
:
Theme
,
name
:
'
换肤
'
}
]
},
{
path
:
'
/example
'
,
component
:
Layout
,
redirect
:
'
noredirect
'
,
name
:
'
综合实例
'
,
icon
:
'
zonghe
'
,
children
:
[
{
path
:
'
dynamictable
'
,
component
:
DynamicTable
,
name
:
'
动态table
'
},
{
path
:
'
table
'
,
component
:
Table
,
name
:
'
综合table
'
},
{
path
:
'
form1
'
,
component
:
Form1
,
name
:
'
综合form1
'
}
// { path: 'form2', component: Form2, name: '综合form2' }
]
},
// {
// path: '/admin',
// component: Layout,
// redirect: 'noredirect',
// name: '后台管理',
// icon: 'geren1',
// children: [
// { path: 'createuser', component: AdminCreateUser, name: '管理员', meta: { role: ['admin'] } },
// { path: 'list', component: UsersList, name: '后台用户列表', meta: { role: ['super_editor', 'product', 'author_assistant'] } },
// { path: 'qicklyCreate', component: QuicklyCreateUser, name: '一键创建账户', meta: { role: ['super_editor', 'gold_editor', 'weex_editor', 'wscn_editor', 'author_assistant', 'product'] } },
// { path: 'profile', component: UserProfile, name: '个人' }
// ]
// },
{
path
:
'
*
'
,
redirect
:
'
/404
'
,
hidden
:
true
}
]
{
path
:
'
/401
'
,
component
:
Err401
,
hidden
:
true
},
{
path
:
'
/
'
,
component
:
Layout
,
redirect
:
'
/dashboard
'
,
name
:
'
首页
'
,
hidden
:
true
,
children
:
[{
path
:
'
dashboard
'
,
component
:
dashboard
}]
},
{
path
:
'
/introduction
'
,
component
:
Layout
,
redirect
:
'
/introduction/index
'
,
name
:
'
简述
'
,
icon
:
'
xinrenzhinan
'
,
noDropdown
:
true
,
children
:
[
{
path
:
'
index
'
,
component
:
Introduction
,
name
:
'
简述
'
}
]
},
{
path
:
'
/permission
'
,
component
:
Layout
,
redirect
:
'
/permission/index
'
,
name
:
'
权限测试
'
,
icon
:
'
quanxian
'
,
meta
:
{
role
:
[
'
admin
'
]
},
noDropdown
:
true
,
children
:
[
{
path
:
'
index
'
,
component
:
Permission
,
name
:
'
权限测试页
'
,
meta
:
{
role
:
[
'
admin
'
]
}
}
]
},
{
path
:
'
/components
'
,
component
:
Layout
,
redirect
:
'
/components/index
'
,
name
:
'
组件
'
,
icon
:
'
zujian
'
,
children
:
[
{
path
:
'
index
'
,
component
:
componentsIndex
,
name
:
'
介绍
'
},
{
path
:
'
tinymce
'
,
component
:
Tinymce
,
name
:
'
富文本编辑器
'
},
{
path
:
'
markdown
'
,
component
:
Markdown
,
name
:
'
Markdown
'
},
{
path
:
'
jsoneditor
'
,
component
:
JsonEditor
,
name
:
'
JSON编辑器
'
},
{
path
:
'
dndlist
'
,
component
:
DndList
,
name
:
'
列表拖拽
'
},
{
path
:
'
splitpane
'
,
component
:
SplitPane
,
name
:
'
SplitPane
'
},
{
path
:
'
avatarupload
'
,
component
:
AvatarUpload
,
name
:
'
头像上传
'
},
{
path
:
'
dropzone
'
,
component
:
Dropzone
,
name
:
'
Dropzone
'
},
{
path
:
'
sticky
'
,
component
:
Sticky
,
name
:
'
Sticky
'
},
{
path
:
'
countto
'
,
component
:
CountTo
,
name
:
'
CountTo
'
},
{
path
:
'
mixin
'
,
component
:
Mixin
,
name
:
'
小组件
'
}
]
},
{
path
:
'
/charts
'
,
component
:
Layout
,
redirect
:
'
/charts/index
'
,
name
:
'
图表
'
,
icon
:
'
tubiaoleixingzhengchang
'
,
children
:
[
{
path
:
'
index
'
,
component
:
chartIndex
,
name
:
'
介绍
'
},
{
path
:
'
keyboard
'
,
component
:
KeyboardChart
,
name
:
'
键盘图表
'
},
{
path
:
'
keyboard2
'
,
component
:
KeyboardChart2
,
name
:
'
键盘图表2
'
},
{
path
:
'
line
'
,
component
:
LineMarker
,
name
:
'
折线图
'
},
{
path
:
'
mixchart
'
,
component
:
MixChart
,
name
:
'
混合图表
'
}
]
},
{
path
:
'
/errorpage
'
,
component
:
Layout
,
redirect
:
'
noredirect
'
,
name
:
'
错误页面
'
,
icon
:
'
404
'
,
children
:
[
{
path
:
'
401
'
,
component
:
Err401
,
name
:
'
401
'
},
{
path
:
'
404
'
,
component
:
Err404
,
name
:
'
404
'
}
]
},
{
path
:
'
/errlog
'
,
component
:
Layout
,
redirect
:
'
noredirect
'
,
name
:
'
errlog
'
,
icon
:
'
bug
'
,
noDropdown
:
true
,
children
:
[
{
path
:
'
log
'
,
component
:
ErrorLog
,
name
:
'
错误日志
'
}
]
},
{
path
:
'
/excel
'
,
component
:
Layout
,
redirect
:
'
noredirect
'
,
name
:
'
excel
'
,
icon
:
'
EXCEL
'
,
noDropdown
:
true
,
children
:
[
{
path
:
'
download
'
,
component
:
ExcelDownload
,
name
:
'
导出excel
'
}
]
},
{
path
:
'
/theme
'
,
component
:
Layout
,
redirect
:
'
noredirect
'
,
name
:
'
theme
'
,
icon
:
'
theme
'
,
noDropdown
:
true
,
children
:
[
{
path
:
'
index
'
,
component
:
Theme
,
name
:
'
换肤
'
}
]
},
{
path
:
'
/example
'
,
component
:
Layout
,
redirect
:
'
noredirect
'
,
name
:
'
综合实例
'
,
icon
:
'
zonghe
'
,
children
:
[
{
path
:
'
dynamictable
'
,
component
:
DynamicTable
,
name
:
'
动态table
'
},
{
path
:
'
table
'
,
component
:
Table
,
name
:
'
综合table
'
},
{
path
:
'
form1
'
,
component
:
Form1
,
name
:
'
综合form1
'
}
// { path: 'form2', component: Form2, name: '综合form2' }
]
},
// {
// path: '/admin',
// component: Layout,
// redirect: 'noredirect',
// name: '后台管理',
// icon: 'geren1',
// children: [
// { path: 'createuser', component: AdminCreateUser, name: '管理员', meta: { role: ['admin'] } },
// { path: 'list', component: UsersList, name: '后台用户列表', meta: { role: ['super_editor', 'product', 'author_assistant'] } },
// { path: 'qicklyCreate', component: QuicklyCreateUser, name: '一键创建账户', meta: { role: ['super_editor', 'gold_editor', 'weex_editor', 'wscn_editor', 'author_assistant', 'product'] } },
// { path: 'profile', component: UserProfile, name: '个人' }
// ]
// },
{
path
:
'
*
'
,
redirect
:
'
/404
'
,
hidden
:
true
}
]
});
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录