소스 검색

【缺陷修复】商城装修: 顶部导航栏-文字链接支持

puhui999 8 달 전
부모
커밋
b92bf484df
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      sheep/components/s-custom-navbar/components/navbar-item.vue

+ 1 - 0
sheep/components/s-custom-navbar/components/navbar-item.vue

@@ -6,6 +6,7 @@
       v-if="data.type === 'text'"
       class="nav-title inline"
       :style="[{ color: data.textColor, width: width }]"
+      @tap="sheep.$router.go(data.url)"
     >
       {{ data.text }}
     </view>