cmy hace 2 años
padre
commit
021c1b633d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      pages/product/supermarket.vue

+ 2 - 0
pages/product/supermarket.vue

@@ -120,6 +120,8 @@
 						duration: 2000
 					});
 					that.loadCart();
+				}).catch((e)=>{
+					that.total--
 				})
 			},
 		}