Browse Source

Datasheet手册打开方式为新窗口打开。

ouxq 8 years ago
parent
commit
13469daf2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/product/brand/BrandComponent.vue

+ 1 - 1
components/product/brand/BrandComponent.vue

@@ -19,7 +19,7 @@
       <tbody>
         <tr class="text-center" v-for="item in list.content">
           <td><a :href="'/product/component/' + item.uuid"><span>{{item.code}}</span></a></td>
-          <td><a :href="item.attach"><button class="btn btn-default"  :disabled="!item.attach" :class="{'disabledbtn':!item.attach}">Datasheet手册</button></a></td>
+          <td><a :href="item.attach" target="_blank"><button class="btn btn-default"  :disabled="!item.attach" :class="{'disabledbtn':!item.attach}">Datasheet手册</button></a></td>
           <td>
             <button class="btn btn-default disabledbtn" :disabled="true">申请样片</button>
           </td>