From 9221d0b83572d3d81b59952351a87d04724f85bb Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Fri, 3 Nov 2023 16:26:28 +0800 Subject: [PATCH] 2023-11-03 --- .../src/views/component/initial_value/product.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/warehousing-system/project_web_ui-xxs/src/views/component/initial_value/product.vue b/warehousing-system/project_web_ui-xxs/src/views/component/initial_value/product.vue index b5200029..ddf6eb24 100644 --- a/warehousing-system/project_web_ui-xxs/src/views/component/initial_value/product.vue +++ b/warehousing-system/project_web_ui-xxs/src/views/component/initial_value/product.vue @@ -250,7 +250,7 @@ export default { type: 'warning' }).catch(error => error) if (result !== 'confirm') return this.$message.info('用户取消操作') - const { data: resultDB } = await this.$http.delete(`/product/delete/${product.barCode}`) + const { data: resultDB } = await this.$http.delete(`/product/delete/${product.id}`) if (resultDB.status !== 200) return this.$message.error('删除商品失败') this.getProductList() this.$message.success('商品删除成功')