Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3c398e2

Browse filesBrowse files
committed
重现vue-router bug
1 parent 7393702 commit 3c398e2
Copy full SHA for 3c398e2

File tree

Expand file treeCollapse file tree

2 files changed

+2
-9
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-9
lines changed

‎package.json

Copy file name to clipboardExpand all lines: package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
1010
},
1111
"dependencies": {
12+
"vue": "^2.0.0",
13+
"vue-router": "^2.0.0",
1214
"@types/es6-promise": "0.0.32",
1315
"@types/lodash": "^4.14.52",
1416
"@types/requirejs": "^2.0.0",
15-
"vue": "^2.0.0",
16-
"vue-router": "^2.0.0",
1717
"@types/vue-resource": "^0.9.3",
1818
"element-theme": "^0.7.1",
1919
"element-ui": "^1.1.6"

‎src/component/app.html

Copy file name to clipboardExpand all lines: src/component/app.html
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@
2929
<router-link to="/page1">Go Page2</router-link>
3030
</el-menu-item>
3131
</el-menu-item-group>
32-
<el-menu-item-group title="分组2">
33-
<el-menu-item index="1-3">选项3</el-menu-item>
34-
</el-menu-item-group>
35-
<el-submenu index="1-4">
36-
<template slot="title">选项4</template>
37-
<el-menu-item index="1-4-1">选项1</el-menu-item>
38-
</el-submenu>
3932
</el-submenu>
4033
<el-menu-item index="2">导航二</el-menu-item>
4134
<el-menu-item index="3">导航三</el-menu-item>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.