소스 검색

优化商品详情

zhengjinyi 3 년 전
부모
커밋
53284a366d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/main/resources/static/js/product/detail.js
  2. 1 1
      src/main/resources/templates/product/detail.html

+ 1 - 1
src/main/resources/static/js/product/detail.js

@@ -232,7 +232,7 @@ var productDetail = new Vue({
                         _self.tabsIndex = 4;
                     }
                 } else {
-                    CAIMEI.Alert(response.msg, '确定', false);
+                    console.log('<===Error===>',response.msg)
                 }
             })
         },

+ 1 - 1
src/main/resources/templates/product/detail.html

@@ -586,7 +586,7 @@
                     </div>
                 </div>
                 <div class="item" v-if="tabsIndex == 5">
-                    <div class="product-qualificationTable">
+                    <div class="product-qualificationTable" v-if="product.qualificationNo">
                         <table border="1">
                             <tr>
                                 <td>证书编号</td>