From a38039f4aaaaee360d95e716c9d6b360b2f08f95 Mon Sep 17 00:00:00 2001 From: Agent Date: Wed, 1 Apr 2026 14:48:42 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DAPI=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/product/manage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/product/manage.vue b/src/pages/product/manage.vue index bdb0515..6e3b9ed 100644 --- a/src/pages/product/manage.vue +++ b/src/pages/product/manage.vue @@ -241,7 +241,7 @@ export default { try { const formData = JSON.parse(JSON.stringify(this.form)) if (this.isEdit) { - await productApi.updateProduct(formData) + await productApi.updateProduct(formData.productId, formData) uni.showToast({ title: '更新成功', icon: 'success' }) } else { await productApi.createProduct(formData)