Ver código fonte

订单模块修改

zhengjinyi 3 anos atrás
pai
commit
cc4d2c461b

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

@@ -11,7 +11,7 @@
                         <div v-if="headCart.cartCount>0">
                             <div class="cartMain">
                                 <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" >
                                         <span class="name" v-text="cart.name"></span>
                                         <span class="unit" v-text="'包装规格:'+cart.unit"></span>