dever 4 éve
szülő
commit
aeb72c81be
1 módosított fájl, 6 hozzáadás és 2 törlés
  1. 6 2
      pages/dream/view/product.vue

+ 6 - 2
pages/dream/view/product.vue

@@ -413,6 +413,8 @@ export default {
 				} else {
 					this.freight_price = freight_price;
 				}
+			} else {
+				
 			}
 			
 			return true;
@@ -457,9 +459,11 @@ export default {
 			data.area_id = this.fetch.area_id;
 			data.noloading = 1;
 			this.closeDialog();
+			var self = this;
 			this.Dever.post('app/user/?l=api.saveAddress', data, function(t) {
-				this.item.goods.freight = t;
-				this.getAttrKey();
+				console.info(t);
+				self.item.goods.freight = t;
+				self.getAttrKey();
 			});
 		}
 	},