소스 검색

订单模块修改

zhengjinyi 3 년 전
부모
커밋
cc4d2c461b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/templates/components/header.html

+ 1 - 1
src/main/resources/templates/components/header.html

@@ -11,7 +11,7 @@
                         <div v-if="headCart.cartCount>0">
                         <div v-if="headCart.cartCount>0">
                             <div class="cartMain">
                             <div class="cartMain">
                                 <div class="cartItem" v-for="cart in headCart.cartList">
                                 <div class="cartItem" v-for="cart in headCart.cartList">
-                                    <a href="javascript:void(0)" @click="productDetailsFn(cart.id)">
+                                    <a href="javascript:void(0)" @click="productDetailsFn(cart.productId)">
                                         <img :src="cart.image" >
                                         <img :src="cart.image" >
                                         <span class="name" v-text="cart.name"></span>
                                         <span class="name" v-text="cart.name"></span>
                                         <span class="unit" v-text="'包装规格:'+cart.unit"></span>
                                         <span class="unit" v-text="'包装规格:'+cart.unit"></span>