浏览代码

修改热销器件的器件链接

huxz 8 年之前
父节点
当前提交
0b920075f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/provider/HotCommodity.vue

+ 1 - 1
components/provider/HotCommodity.vue

@@ -3,7 +3,7 @@
     <div class="title">热销器件</div>
     <ul class="list-unstyled list-inline">
       <li class="hot-commodity-box" v-for="(component, index) in hotComponents" :class="{ 'border-right' : index % 5 == 4 }">
-        <a :href="'/store/' + component.storeid + '/batchInfo/' + component.batchCode" target="_blank">
+        <a :href="'/store/' + component.storeid + '/' + component.batchCode" target="_blank">
           <img :src="component.img || '/images/store/common/default.png'"/>
           <span>{{component.code}}</span>
         </a>