diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 293184c..8e6d8d3 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -449,7 +449,7 @@ async function isStockChange(data: any) { type: "product", id: data.id, isSale: data.isStock, - optType: "stock ", + optType: "stock", }; await UserAPI.onOff(obj); ElMessage.success("修改成功!");