导航修改
Showing
1 changed file
with
10 additions
and
1 deletions
| ... | @@ -69,6 +69,10 @@ export default { | ... | @@ -69,6 +69,10 @@ export default { |
| 69 | defaultActive: "", | 69 | defaultActive: "", |
| 70 | headTop: [ | 70 | headTop: [ |
| 71 | { | 71 | { |
| 72 | path: "/panel", | ||
| 73 | select: false, | ||
| 74 | }, | ||
| 75 | { | ||
| 72 | path: "/create", | 76 | path: "/create", |
| 73 | select: false, | 77 | select: false, |
| 74 | }, | 78 | }, |
| ... | @@ -165,6 +169,11 @@ export default { | ... | @@ -165,6 +169,11 @@ export default { |
| 165 | //mock数据 | 169 | //mock数据 |
| 166 | let list = [ | 170 | let list = [ |
| 167 | { | 171 | { |
| 172 | name: "首页", | ||
| 173 | icon: "fa fa-home", | ||
| 174 | path: "/panel", | ||
| 175 | }, | ||
| 176 | { | ||
| 168 | name: "新建", | 177 | name: "新建", |
| 169 | icon: "fa fa-plus-square", | 178 | icon: "fa fa-plus-square", |
| 170 | path: "/create", | 179 | path: "/create", |
| ... | @@ -285,7 +294,7 @@ export default { | ... | @@ -285,7 +294,7 @@ export default { |
| 285 | } | 294 | } |
| 286 | }, | 295 | }, |
| 287 | selectTopItems(ind) { | 296 | selectTopItems(ind) { |
| 288 | if (ind == 0) { | 297 | if (ind == 1) { |
| 289 | //点击新建,弹框 | 298 | //点击新建,弹框 |
| 290 | this.dialogVisible = true; | 299 | this.dialogVisible = true; |
| 291 | } else { | 300 | } else { | ... | ... |
-
Please register or sign in to post a comment