浏览代码

:recycle: redoing routes from scratch

tags/0.9.0
J 4 年前
父节点
当前提交
b42d76f889
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      vue-theme/src/components/navigation/navigation.vue

+ 4
- 0
vue-theme/src/components/navigation/navigation.vue 查看文件

@@ -10,6 +10,10 @@ nav.main.w-max
10 10
                     h1.t-serif.t-up craft in america
11 11
             li.f-grow
12 12
             li(v-for="item in menuItems")
13
+                router-link(v-if="['event','exhibition'].includes(item)" :to="`/${item}/sorted/${sortTypes.currentAndUpcoming}`")
14
+                    h5.t-up {{ item }}
15
+                router-link(v-else-if="['artist'].includes(item)" :to="`/${item}/sorted/${sortTypes.alpha}`")
16
+                    h5.t-up {{ item }}
13 17
                 router-link(v-else :to="`/${item}`")
14 18
                     h5.t-up {{ item }}
15 19
 

正在加载...
取消
保存