cmy 2 anni fa
parent
commit
021c1b633d
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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--
 				})
 			},
 		}