diff --git a/pages/product/list/index.vue b/pages/product/list/index.vue index 7f6fb63..868840d 100644 --- a/pages/product/list/index.vue +++ b/pages/product/list/index.vue @@ -420,7 +420,7 @@ "spec_type": 0, "is_stock": 1 }; - obj.attrValue[0].price = this.data.number; + obj.attrValue[0].stock = this.data.number; productUpdateFree(this.data.product_id, obj).then(res => { this.data.unique = '' this.data.product_id = ''